gluu
|
静的公開メンバ関数 | |
static String | ISOToGeneralizedStringDate (String strDate) |
static String | generalizedToISOStringDate (String strDate) |
static String | millisToISOString (long millis) |
静的公開変数類 | |
static final String | GENERALIZED_TIME_FORMAT ="YYYYMMddHHmmss.SSSZ" |
非公開メンバ関数 | |
DateUtil () | |
Contains helper methods to convert between dates in ISO format and LDAP generalized time syntax.
Examples of ISO-formated dates:
Equivalent dates in generalized time format:
|
inlinestatic |
Converts a string representing a date (in the LDAP generalized time syntax) to an ISO-8601 formatted string date.
strDate | A string date in generalized time syntax (see RFC 4517 section 3.3.13) |
|
inlinestatic |
Converts a string representation of a date (expected to follow the pattern of DateTime XML schema data type) to a string representation of a date in LDAP generalized time syntax (see RFC 4517 section 3.3.13).
xsd:dateTime
is equivalent to ISO-8601 format, namely, yyyy-MM-dd'T'HH:mm:ss.SSSZZ
strDate | A string date in ISO format. |
|
inlinestatic |
Returns a string representation of a date in ISO format based on a number of milliseconds elapsed from "the epoch", namely January 1, 1970, 00:00:00 GMT.
millis | Number of milliseconds |
|
static |
Format used by LDAP generalized time syntax (see RFC 4517 section 3.3.13)