DistinguishedEncodingRulesElement.coordinatedUniversalTime

Decodes a https://dlang.org/phobos/std_datetime_date.html#.DateTime, DateTime. The value is just the ASCII character representation of the UTC-formatted timestamp.

An UTC Timestamp looks like:

  • $(MONO 9912312359Z)
  • $(MONO 991231235959+0200)

If the first digit of the two-digit year is 7, 6, 5, 4, 3, 2, 1, or 0, meaning that the date refers to the first 80 years of the century, this assumes we are talking about the 21st century and prepend '20' when creating the ISO Date String. Otherwise, it assumes we are talking about the 20th century, and prepend '19' when creating the string.

  1. DateTime coordinatedUniversalTime [@property getter]
    class DistinguishedEncodingRulesElement
    override @property @system const
    DateTime
    coordinatedUniversalTime
    ()
  2. DateTime coordinatedUniversalTime [@property setter]

Throws

See Also

Meta