CanonicalEncodingRulesElement.generalizedTime

Encodes a DateTime.

The value is just the ASCII character representation of the https://www.iso.org/iso-8601-date-and-time-format.html, ISO 8601-formatted timestamp.

An ISO-8601 Timestamp looks like:

  • $(MONO 19851106210627.3)
  • $(MONO 19851106210627.3Z)
  • $(MONO 19851106210627.3-0500)
  1. DateTime generalizedTime [@property getter]
  2. DateTime generalizedTime [@property setter]
    class CanonicalEncodingRulesElement
    override @property @system
    void
    generalizedTime
    (
    in DateTime value
    )
    out { assert (this.value.length > 0u); assert ((cast(string)this.value).indexOf("T") == -1); }

Meta