Instant type supports the following patterns:
The following standard pattern is supported:
g: General format pattern.
Instant supports all the
LocalDateTime custom patterns.
The pattern allows the culture to be specified, but always uses the ISO-8601 calendar, and always uses the UTC
time zone. The "template value" is always the unix epoch.
All instant patterns handle
Instant.MaxValue separately. The default formatting of the values are simply "MinInstant" and "MaxInstant" respectively, but a new
InstantPattern with different min/max labels can be created using the
WithMinMaxLabels method. The labels must be non-empty strings which differ from each other.