Package org.apache.poi.hwpf.usermodel
Class DateAndTime
- java.lang.Object
-
- org.apache.poi.hwpf.usermodel.DateAndTime
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class DateAndTime extends java.lang.Object implements java.lang.CloneableThis class is used to represent a date and time in a Word document.
-
-
Field Summary
Fields Modifier and Type Field Description static intSIZE
-
Constructor Summary
Constructors Constructor Description DateAndTime()DateAndTime(byte[] buf, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()booleanequals(java.lang.Object o)java.util.CalendargetDate()inthashCode()booleanisEmpty()voidserialize(byte[] buf, int offset)java.lang.StringtoString()
-
-
-
Field Detail
-
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDate
public java.util.Calendar getDate()
-
serialize
public void serialize(byte[] buf, int offset)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Throws:
java.lang.CloneNotSupportedException
-
isEmpty
public boolean isEmpty()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-