Package | Description |
---|---|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
Modifier and Type | Field and Description |
---|---|
static GeneralizedTime |
GeneralizedTime.MIN_GENERALIZED_TIME
The smallest time representable using the generalized time syntax.
|
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(OffsetDateTime offsetDateTime)
Returns a generalized time representing the provided
OffsetDateTime . |
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
GeneralizedTime s 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
GeneralizedTime s using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
static Function<ByteString,GeneralizedTime,org.forgerock.i18n.LocalizedIllegalArgumentException> |
Functions.byteStringToGeneralizedTime()
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
GeneralizedTime s 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
GeneralizedTime s using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
Copyright © 2010-2018, ForgeRock All Rights Reserved.