Time.ISO
The pieces of ISO 8601 text that more than one type reads or writes.
Reading is strict: a reader consumes exactly the form asked for, and a type's
parse succeeds only if the whole string is consumed. ISO text is ASCII, so
the reader works on bytes; a byte outside ASCII simply fails to match.
Whether c is next, without consuming it.
Consumes whatever byte is next, if there is one.
Consumes an ASCII letter if one is next.
The text up to the next c, which is not consumed; None if there is no
c, or the text is empty.
Consumes c if it is next.
An optional + or -: -1 after a minus, otherwise 1.
Exactly count digits, as a number.
One or more digits, at most 18 so the number cannot overflow.
After a . or ,, one to nine digits of a second, as nanoseconds. Absent,
it is 0.
A UTC offset: Z, or a sign and HH:MM under 24 hours as RFC 3339 writes
one, optionally with :SS for the offsets of old local mean times.
n, which is not negative, in at least width digits.
A year as ISO 8601 writes it: four digits from 0 to 9999, otherwise a sign and six, the expanded form.
. and the nanoseconds without trailing zeros, or nothing for 0.