Package org.apache.poi.hwpf.usermodel
Class DateAndTime
- java.lang.Object
-
- org.apache.poi.hwpf.usermodel.DateAndTime
-
- All Implemented Interfaces:
Duplicatable
public final class DateAndTime extends Object implements Duplicatable
This 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)DateAndTime(DateAndTime other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateAndTimecopy()booleanequals(Object o)CalendargetDate()inthashCode()booleanisEmpty()voidserialize(byte[] buf, int offset)StringtoString()
-
-
-
Field Detail
-
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DateAndTime
public DateAndTime()
-
DateAndTime
public DateAndTime(DateAndTime other)
-
DateAndTime
public DateAndTime(byte[] buf, int offset)
-
-
Method Detail
-
getDate
public Calendar getDate()
-
serialize
public void serialize(byte[] buf, int offset)
-
copy
public DateAndTime copy()
- Specified by:
copyin interfaceDuplicatable
-
isEmpty
public boolean isEmpty()
-
-