public class DeltaTimeValueTranscoder extends AbstractStringValueTranscoder<Long>
| Modifier and Type | Field and Description |
|---|---|
private static long |
ONE_HUNDRED_NANOSECOND_INTERVAL
Delta time uses 100-nanosecond intervals.
|
| Constructor and Description |
|---|
DeltaTimeValueTranscoder() |
| Modifier and Type | Method and Description |
|---|---|
Long |
decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type.
|
String |
encodeStringValue(Long value)
Encodes the supplied value into an ldap attribute value.
|
Class<Long> |
getType()
Returns the type produced by this value transcoder.
|
decodeBinaryValue, encodeBinaryValueprivate static final long ONE_HUNDRED_NANOSECOND_INTERVAL
public Long decodeStringValue(String value)
ValueTranscodervalue - to decodepublic String encodeStringValue(Long value)
ValueTranscodervalue - to encodepublic Class<Long> getType()
ValueTranscoderCopyright © 2003-2019 Virginia Tech. All Rights Reserved.