Uses of Class
org.forgerock.opendj.ldap.GeneralizedTime
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
Contains a number of API declarations for use throughout the Directory Server.
Contains various classes that comprise the core of the Directory Server codebase.
-
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. -
Uses of GeneralizedTime in org.opends.server.api
Modifier and TypeMethodDescriptionvoid
MeterRegistryHolder.dateTimeGauge
(String name, String ldapAttributeName, Supplier<GeneralizedTime> valueFunction) Creates both an object gauge that is never added to the parent meter registry (it only appears in ldap meters), and a gauge returning a double that will be added to the parent meter registry converting theGeneralizedTime
to a double by using thegetTimeInMillis()
function.void
MeterRegistryHolder.dateTimeGauge
(String name, Supplier<GeneralizedTime> valueFunction) Creates both an object gauge that is never added to the parent meter registry (it only appears in ldap meters), and a gauge returning a double that will be added to the parent meter registry converting theGeneralizedTime
to a double by using thegetTimeInMillis()
function. -
Uses of GeneralizedTime in org.opends.server.core
Modifier and TypeMethodDescriptionstatic GeneralizedTime
TimeThread.getGeneralizedTime()
Retrieves aGeneralizedTime
containing the time at the last update.DirectoryServer.getStartTime()
ServerContext.getStartTime()
Retrieves the time when the Directory Server was started.