| Package | Description |
|---|---|
| org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
| Modifier and Type | Method and Description |
|---|---|
GeneralizedTime |
AttributeParser.asGeneralizedTime()
Returns the first value decoded as a
GeneralizedTime using the
generalized time syntax, or null if the attribute does not
contain any values. |
GeneralizedTime |
AttributeParser.asGeneralizedTime(GeneralizedTime defaultValue)
Returns the first value decoded as an
GeneralizedTime using the
generalized time syntax, or defaultValue if the attribute does
not contain any values. |
static GeneralizedTime |
GeneralizedTime.currentTime()
Returns a generalized time whose value is the current time, using the
default time zone and locale.
|
static GeneralizedTime |
GeneralizedTime.valueOf(Calendar calendar)
Returns a generalized time representing the provided
Calendar. |
static GeneralizedTime |
GeneralizedTime.valueOf(Date date)
Returns a generalized time representing the provided
Date. |
static GeneralizedTime |
GeneralizedTime.valueOf(long timeMS)
Returns a generalized time representing the provided time in milliseconds
since the epoch.
|
static GeneralizedTime |
GeneralizedTime.valueOf(String time)
Parses the provided string as an LDAP generalized time.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GeneralizedTime> |
AttributeParser.asSetOfGeneralizedTime(Collection<GeneralizedTime> defaultValues)
Returns the values decoded as a set of
GeneralizedTimes using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
Set<GeneralizedTime> |
AttributeParser.asSetOfGeneralizedTime(GeneralizedTime... defaultValues)
Returns the values decoded as a set of
GeneralizedTimes using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
static org.forgerock.util.Function<ByteString,GeneralizedTime,org.forgerock.util.promise.NeverThrowsException> |
Functions.byteStringToGeneralizedTime()
Returns a function which parses generalized time strings.
|
static org.forgerock.util.Function<String,GeneralizedTime,org.forgerock.util.promise.NeverThrowsException> |
Functions.stringToGeneralizedTime()
Returns a function which parses generalized time strings.
|
| Modifier and Type | Method and Description |
|---|---|
GeneralizedTime |
AttributeParser.asGeneralizedTime(GeneralizedTime defaultValue)
Returns the first value decoded as an
GeneralizedTime using the
generalized time syntax, or defaultValue if the attribute does
not contain any values. |
Set<GeneralizedTime> |
AttributeParser.asSetOfGeneralizedTime(GeneralizedTime... defaultValues)
Returns the values decoded as a set of
GeneralizedTimes using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
int |
GeneralizedTime.compareTo(GeneralizedTime o) |
| Modifier and Type | Method and Description |
|---|---|
Set<GeneralizedTime> |
AttributeParser.asSetOfGeneralizedTime(Collection<GeneralizedTime> defaultValues)
Returns the values decoded as a set of
GeneralizedTimes using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.