Class DateAndTime

java.lang.Object
org.apache.poi.hwpf.usermodel.DateAndTime
All Implemented Interfaces:
org.apache.poi.common.Duplicatable

public final class DateAndTime extends Object implements org.apache.poi.common.Duplicatable
This class is used to represent a date and time in a Word document.
  • Field Details

  • Constructor Details

    • DateAndTime

      public DateAndTime()
    • DateAndTime

      public DateAndTime(DateAndTime other)
    • DateAndTime

      public DateAndTime(byte[] buf, int offset)
  • Method Details

    • getDate

      public Calendar getDate()
    • serialize

      public void serialize(byte[] buf, int offset)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • copy

      public DateAndTime copy()
      Specified by:
      copy in interface org.apache.poi.common.Duplicatable
    • isEmpty

      public boolean isEmpty()
    • toString

      public String toString()
      Overrides:
      toString in class Object