Const
RFC 3339 ↔ a DateTime. The value is in the local zone, and serialize writes Z. With keepOffset, the value keeps the wire offset (setZone: true), and serialize writes it.
DateTime
serialize
Z
keepOffset
setZone: true
RFC 3339 ↔ a
DateTime. The value is in the local zone, andserializewritesZ. WithkeepOffset, the value keeps the wire offset (setZone: true), andserializewrites it.