public class FileTimeValueTranscoder extends AbstractStringValueTranscoder<ZonedDateTime>
| Modifier and Type | Field and Description |
|---|---|
private static long |
ERA_OFFSET
Number of milliseconds between standard Unix era (1/1/1970) and filetime start (1/1/1601).
|
private static long |
ONE_HUNDRED_NANOSECOND_INTERVAL
File time uses 100-nanosecond intervals.
|
| Constructor and Description |
|---|
FileTimeValueTranscoder() |
| Modifier and Type | Method and Description |
|---|---|
ZonedDateTime |
decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type.
|
String |
encodeStringValue(ZonedDateTime value)
Encodes the supplied value into an ldap attribute value.
|
Class<ZonedDateTime> |
getType()
Returns the type produced by this value transcoder.
|
decodeBinaryValue, encodeBinaryValueprivate static final long ERA_OFFSET
private static final long ONE_HUNDRED_NANOSECOND_INTERVAL
public ZonedDateTime decodeStringValue(String value)
ValueTranscodervalue - to decodepublic String encodeStringValue(ZonedDateTime value)
ValueTranscodervalue - to encodepublic Class<ZonedDateTime> getType()
ValueTranscoderCopyright © 2003-2019 Virginia Tech. All Rights Reserved.