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 java.util.DategetAsDate(MAPIAttribute attr)Returns the Date of a Attribute, converting as appropriatejava.util.DategetDate()java.lang.StringtoString()-
Methods inherited from class org.apache.poi.hmef.attribute.MAPIAttribute
create, getData, getProperty, getType
-
-
-
-
Method Detail
-
getDate
public java.util.Date getDate()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classMAPIAttribute
-
getAsDate
public static java.util.Date getAsDate(MAPIAttribute attr)
Returns the Date of a Attribute, converting as appropriate
-
-