BasicAlignedPackedEncodingRulesElement.generalizedTime

Decodes 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]
    class BasicAlignedPackedEncodingRulesElement
    override @property @system const
    DateTime
    generalizedTime
    ()
  2. DateTime generalizedTime [@property setter]

Throws

  • ASN1ValueCharactersException if any character is not valid in a $(MONO Visiblestring)
  • DateTimeException if the encoded string cannot be decoded to a DateTime
  • ASN1RecursionException if using constructed form and the element is constructed of too many nested constructed elements
  • ASN1TagClassException if any nested primitives do not share the same tag class as their outer constructed element
  • ASN1TagNumberException if any nested primitives do not share the same tag number as their outer constructed element

Meta