Uses of Class
org.forgerock.opendj.ldap.GeneralizedTime
Packages that use 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
Classes in org.forgerock.opendj.ldap that implement interfaces with type arguments of type GeneralizedTimeModifier and TypeClassDescriptionfinal classAn LDAP generalized time as defined in RFC 4517.Fields in org.forgerock.opendj.ldap declared as GeneralizedTimeModifier and TypeFieldDescriptionstatic final GeneralizedTimeGeneralizedTime.MIN_GENERALIZED_TIMEThe smallest time representable using the generalized time syntax.Methods in org.forgerock.opendj.ldap that return GeneralizedTimeModifier and TypeMethodDescriptionAttributeParser.asGeneralizedTime()Returns the first value decoded as aGeneralizedTimeusing the generalized time syntax, ornullif the attribute does not contain any values.AttributeParser.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 GeneralizedTimeParses the provided string as an LDAP generalized time.static GeneralizedTimeReturns 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 GeneralizedTimeReturns a generalized time representing the providedCalendar.static GeneralizedTimeReturns a generalized time representing the providedDate.Methods in org.forgerock.opendj.ldap that return types with arguments of type GeneralizedTimeModifier and TypeMethodDescriptionAttributeParser.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.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.Functions.byteStringToGeneralizedTime()Returns a function which parses generalized time strings.Methods in org.forgerock.opendj.ldap with parameters of type GeneralizedTimeModifier and TypeMethodDescriptionAttributeParser.asGeneralizedTime(GeneralizedTime defaultValue) Returns the first value decoded as anGeneralizedTimeusing the generalized time syntax, ordefaultValueif the attribute does not contain any values.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 GeneralizedTimeModifier and TypeMethodDescriptionAttributeParser.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 GeneralizedTimeModifier and TypeMethodDescriptionvoidMeterRegistryHolder.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 theGeneralizedTime.getTimeInMillis()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 theGeneralizedTime.getTimeInMillis()function. -
Uses of GeneralizedTime in org.opends.server.core
Methods in org.opends.server.core that return GeneralizedTimeModifier and TypeMethodDescriptionstatic GeneralizedTimeTimeThread.getGeneralizedTime()Returns aGeneralizedTimecontaining the time at the last update.DirectoryServer.getStartTime()ServerContext.getStartTime()Returns The time when the Directory Server was started.