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. -
-
Uses of GeneralizedTime in org.forgerock.opendj.ldap
Fields in org.forgerock.opendj.ldap declared as GeneralizedTime Modifier and Type Field Description static GeneralizedTimeGeneralizedTime. MIN_GENERALIZED_TIMEThe smallest time representable using the generalized time syntax.Methods in org.forgerock.opendj.ldap that return GeneralizedTime Modifier and Type Method Description GeneralizedTimeAttributeParser. asGeneralizedTime()Returns the first value decoded as aGeneralizedTimeusing the generalized time syntax, ornullif the attribute does not contain any values.GeneralizedTimeAttributeParser. asGeneralizedTime(GeneralizedTime defaultValue)Returns the first value decoded as anGeneralizedTimeusing the generalized time syntax, ordefaultValueif the attribute does not contain any values.static GeneralizedTimeGeneralizedTime. currentTime()Returns a generalized time whose value is the current time, using the default time zone and locale.static GeneralizedTimeGeneralizedTime. valueOf(long timeMS)Returns a generalized time representing the provided time in milliseconds since the epoch.static GeneralizedTimeGeneralizedTime. valueOf(String time)Parses the provided string as an LDAP generalized time.static GeneralizedTimeGeneralizedTime. valueOf(Instant instant)Returns a generalized time representing the provided instant in milliseconds since the epoch.static GeneralizedTimeGeneralizedTime. valueOf(OffsetDateTime offsetDateTime)Returns a generalized time representing the providedOffsetDateTime.static GeneralizedTimeGeneralizedTime. valueOf(Calendar calendar)Returns a generalized time representing the providedCalendar.static GeneralizedTimeGeneralizedTime. 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 ofGeneralizedTimes using the generalized time syntax, ordefaultValuesif the attribute does not contain any values.Set<GeneralizedTime>AttributeParser. asSetOfGeneralizedTime(GeneralizedTime... defaultValues)Returns the values decoded as a set ofGeneralizedTimes using the generalized time syntax, ordefaultValuesif 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 GeneralizedTimeAttributeParser. asGeneralizedTime(GeneralizedTime defaultValue)Returns the first value decoded as anGeneralizedTimeusing the generalized time syntax, ordefaultValueif the attribute does not contain any values.Set<GeneralizedTime>AttributeParser. asSetOfGeneralizedTime(GeneralizedTime... defaultValues)Returns the values decoded as a set ofGeneralizedTimes using the generalized time syntax, ordefaultValuesif the attribute does not contain any values.intGeneralizedTime. 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 ofGeneralizedTimes using the generalized time syntax, ordefaultValuesif 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 voidMeterRegistryHolder. 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 theGeneralizedTimeto a double by using thegetTimeInMillis()function.voidMeterRegistryHolder. 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 theGeneralizedTimeto 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 static GeneralizedTimeTimeThread. getGeneralizedTime()Retrieves aGeneralizedTimecontaining the time at the last update.GeneralizedTimeDirectoryServer. getStartTime()GeneralizedTimeServerContext. getStartTime()Retrieves the time when the Directory Server was started.
-