Package org.apache.poi.hmef.attribute
Class MAPIDateAttribute
- java.lang.Object
-
- org.apache.poi.hmef.attribute.MAPIAttribute
-
- org.apache.poi.hmef.attribute.MAPIDateAttribute
-
public final class MAPIDateAttribute extends MAPIAttribute
A pure-MAPI attribute holding a Date, which applies to aHMEFMessageor one of itsAttachments. Timestamps are usually given in UTC.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DategetAsDate(MAPIAttribute attr)Returns the Date of a Attribute, converting as appropriateDategetDate()StringtoString()-
Methods inherited from class org.apache.poi.hmef.attribute.MAPIAttribute
create, getData, getProperty, getType
-
-
-
-
Method Detail
-
getDate
public Date getDate()
-
toString
public String toString()
- Overrides:
toStringin classMAPIAttribute
-
getAsDate
public static Date getAsDate(MAPIAttribute attr)
Returns the Date of a Attribute, converting as appropriate
-
-