Interface XAttributeTimestamp

    • Field Detail

      • FORMATTER

        static final XsDateTimeFormat FORMATTER
        Formatter to be used for formatting dates. This formatter is locale independent, to allow for serialized files to be moved between locales.
    • Method Detail

      • setValue

        void setValue​(java.util.Date value)
        Assigns the timestamp value of this attribute.
        Parameters:
        value - Value of the attribute.
      • setValueMillis

        void setValueMillis​(long value)
        Assigns the timestamp value of this attribute in milliseconds.
        Parameters:
        value - Value of the attribute.
      • getValue

        java.util.Date getValue()
        Retrieves the timestamp value of this attribute.
        Returns:
        Value of this attribute.
      • getValueMillis

        long getValueMillis()
        Retrieves the timestamp value of this attribute, in milliseconds.
        Returns:
        Value of this attribute.