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 aHMEFMessage
or one of itsAttachment
s. Timestamps are usually given in UTC.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Date
getAsDate(MAPIAttribute attr)
Returns the Date of a Attribute, converting as appropriatejava.util.Date
getDate()
java.lang.String
toString()
-
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:
toString
in classMAPIAttribute
-
getAsDate
public static java.util.Date getAsDate(MAPIAttribute attr)
Returns the Date of a Attribute, converting as appropriate
-
-