BasicEncodingRulesElement.generalizedTime

Encodes a https://dlang.org/phobos/std_datetime_date.html#.DateTime, 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 BasicEncodingRulesElement
    override @property @system nothrow
    void
    generalizedTime
    (
    in DateTime value
    )
    out { assert (this.value.length > 10u); }

Meta