Uses of Class
org.forgerock.opendj.ldap.GeneralizedTime
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
-
Uses of GeneralizedTime in org.forgerock.opendj.ldap
Modifier and TypeFieldDescriptionstatic final GeneralizedTime
GeneralizedTime.MIN_GENERALIZED_TIME
The smallest time representable using the generalized time syntax.Modifier and TypeMethodDescriptionAttributeParser.asGeneralizedTime()
Returns the first value decoded as aGeneralizedTime
using the generalized time syntax, ornull
if the attribute does not contain any values.AttributeParser.asGeneralizedTime
(GeneralizedTime defaultValue) Returns the first value decoded as anGeneralizedTime
using the generalized time syntax, ordefaultValue
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
(long timeMS) Returns a generalized time representing the provided time in milliseconds since the epoch.static GeneralizedTime
Parses the provided string as an LDAP generalized time.static GeneralizedTime
Returns a generalized time representing the provided instant in milliseconds since the epoch.static GeneralizedTime
GeneralizedTime.valueOf
(OffsetDateTime offsetDateTime) Returns a generalized time representing the providedOffsetDateTime
.static GeneralizedTime
Returns a generalized time representing the providedCalendar
.static GeneralizedTime
Returns a generalized time representing the providedDate
.Modifier and TypeMethodDescriptionAttributeParser.asSetOfGeneralizedTime
(Collection<GeneralizedTime> defaultValues) Returns the values decoded as a set ofGeneralizedTime
s using the generalized time syntax, ordefaultValues
if the attribute does not contain any values.AttributeParser.asSetOfGeneralizedTime
(GeneralizedTime... defaultValues) Returns the values decoded as a set ofGeneralizedTime
s using the generalized time syntax, ordefaultValues
if the attribute does not contain any values.Functions.byteStringToGeneralizedTime()
Returns a function which parses generalized time strings.Modifier and TypeMethodDescriptionAttributeParser.asGeneralizedTime
(GeneralizedTime defaultValue) Returns the first value decoded as anGeneralizedTime
using the generalized time syntax, ordefaultValue
if the attribute does not contain any values.AttributeParser.asSetOfGeneralizedTime
(GeneralizedTime... defaultValues) Returns the values decoded as a set ofGeneralizedTime
s using the generalized time syntax, ordefaultValues
if the attribute does not contain any values.int
GeneralizedTime.compareTo
(GeneralizedTime o) Modifier and TypeMethodDescriptionAttributeParser.asSetOfGeneralizedTime
(Collection<GeneralizedTime> defaultValues) Returns the values decoded as a set ofGeneralizedTime
s using the generalized time syntax, ordefaultValues
if the attribute does not contain any values.