Class UTCDateTime

java.lang.Object
org.ivoa.dm.registry.voresource.UTCDateTime
All Implemented Interfaces:
Serializable

@VoDml(id="VOResource:UTCDateTime", role=primitiveType) @Embeddable public class UTCDateTime extends Object implements Serializable
A date stamp that can be given to a precision of either a day (type xs:date) or seconds (type xs:dateTime). Where only a date is given, it is to be interpreted as the span of the day on the UTC timezone if such distinctions are relevant. PrimitiveType UTCDateTime :
See Also:
  • Constructor Details

    • UTCDateTime

      protected UTCDateTime()
      no arg constructor.
    • UTCDateTime

      public UTCDateTime(UTCDateTime c)
      copy constructor.
      Parameters:
      c - the object to be copied.
    • UTCDateTime

      public UTCDateTime(String v)
      Creates a new UTCDateTime Primitive Type instance, using the base type.
      Parameters:
      v - the base type.
  • Method Details

    • value

      public final String value()
      Return the representation of this primitive (value)
      Returns:
      string representation of this primitive( value)
    • toString

      public final String toString()
      Return the string representation of this primitive value
      Overrides:
      toString in class Object
      Returns:
      string representation of this primitive
      See Also: