Class DateTimeAttributeValue

    • Constructor Detail

      • DateTimeAttributeValue

        public DateTimeAttributeValue​(@Nonnull @NotEmpty @ParameterName(name="attributeValue")
                                      Instant attributeValue)
        Constructor.
        Parameters:
        attributeValue - the attribute value
      • DateTimeAttributeValue

        public DateTimeAttributeValue​(@Nonnull @NotEmpty @ParameterName(name="attributeValue")
                                      ZonedDateTime attributeValue)
        Constructor.
        Parameters:
        attributeValue - the attribute value
    • Method Detail

      • getNativeValue

        public Object getNativeValue()
        Get the native representation of the value of this attribute.
        Specified by:
        getNativeValue in interface IdPAttributeValue
        Returns:
        the attribute value in native format.
      • getValue

        @Nonnull
        public final Instant getValue()
        Return the value.
        Returns:
        the value
      • getDisplayValue

        @Nonnull
        @NotEmpty
        public String getDisplayValue()
        Get a displayable form of the value for user interfaces and similar purposes.
        Specified by:
        getDisplayValue in interface IdPAttributeValue
        Returns:
        a displayable value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object