public final class MAPIDateAttribute extends MAPIAttribute
HMEFMessage or one of its Attachments.
Timestamps are usually given in UTC.| Modifier | Constructor and Description |
|---|---|
protected |
MAPIDateAttribute(MAPIProperty property,
int type,
byte[] data)
Constructs a single new date attribute from the id, type,
and the contents of the stream
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Date |
getAsDate(MAPIAttribute attr)
Returns the Date of a Attribute, converting as appropriate
|
java.util.Date |
getDate() |
java.lang.String |
toString() |
create, getData, getProperty, getTypeprotected MAPIDateAttribute(MAPIProperty property, int type, byte[] data)
public java.util.Date getDate()
public java.lang.String toString()
toString in class MAPIAttributepublic static java.util.Date getAsDate(MAPIAttribute attr)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.