Uses of Class
org.forgerock.opendj.ldap.GeneralizedTime
-
Packages that use GeneralizedTime Package Description org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.core Contains various classes that comprise the core of the Directory Server codebase.org.opends.server.util Contains implementations for various Directory Server utility classes and methods which may be used throughout the server but do not necessarily fit in elsewhere. -
-
Uses of GeneralizedTime in org.forgerock.opendj.ldap
Fields in org.forgerock.opendj.ldap declared as GeneralizedTime Modifier and Type Field Description static GeneralizedTime
GeneralizedTime. MIN_GENERALIZED_TIME
The smallest time representable using the generalized time syntax.Methods in org.forgerock.opendj.ldap that return GeneralizedTime Modifier and Type Method Description GeneralizedTime
AttributeParser. asGeneralizedTime()
Returns the first value decoded as aGeneralizedTime
using the generalized time syntax, ornull
if the attribute does not contain any values.GeneralizedTime
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
GeneralizedTime. valueOf(String time)
Parses the provided string as an LDAP generalized time.static GeneralizedTime
GeneralizedTime. valueOf(Instant instant)
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
GeneralizedTime. valueOf(Calendar calendar)
Returns a generalized time representing the providedCalendar
.static GeneralizedTime
GeneralizedTime. valueOf(Date date)
Returns a generalized time representing the providedDate
.Methods in org.forgerock.opendj.ldap that return types with arguments of type GeneralizedTime Modifier and Type Method Description Set<GeneralizedTime>
AttributeParser. 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.Set<GeneralizedTime>
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.static Function<ByteString,GeneralizedTime,LocalizedIllegalArgumentException>
Functions. byteStringToGeneralizedTime()
Returns a function which parses generalized time strings.Methods in org.forgerock.opendj.ldap with parameters of type GeneralizedTime Modifier and Type Method Description GeneralizedTime
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.Set<GeneralizedTime>
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)
Method parameters in org.forgerock.opendj.ldap with type arguments of type GeneralizedTime Modifier and Type Method Description Set<GeneralizedTime>
AttributeParser. 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
Method parameters in org.opends.server.api with type arguments of type GeneralizedTime Modifier and Type Method Description void
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
Methods in org.opends.server.core that return GeneralizedTime Modifier and Type Method Description GeneralizedTime
DirectoryServer. getStartTime()
GeneralizedTime
ServerContext. getStartTime()
Retrieves the time when the Directory Server was started. -
Uses of GeneralizedTime in org.opends.server.util
Methods in org.opends.server.util that return GeneralizedTime Modifier and Type Method Description static GeneralizedTime
TimeThread. getGeneralizedTime()
Retrieves aGeneralizedTime
containing the time at the last update.
-