public final class MAPIDateAttribute extends MAPIAttribute
HMEFMessage
or one of its
Attachment
s. Timestamps are usually given in UTC.
(持有日期的纯 MAPI 属性,适用于 HMEFMessage 或其附件之一。时间戳通常以 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
(从流的 id、类型和内容构造一个新的日期属性)
|
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, getType
protected MAPIDateAttribute(MAPIProperty property, int type, byte[] data)
public java.util.Date getDate()
public java.lang.String toString()
toString
in class
MAPIAttribute
public static java.util.Date getAsDate(MAPIAttribute attr)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.