UtcOffset.format

nuint format(in UtcOffset this, prep char[] buffer = default)

Formats a UTC offset as Z or +HH:MM.

Remarks

Formatting always computes from the stored value, even when isValid would return false. It writes into the caller-provided buffer when space is available and returns the required character count.

Parameters

in UtcOffset
this
prep char[]
buffer = default

Destination buffer.

Generated with campc v0.4.0-preview.1+642f16f14de4d4622d15e99b09d7b20aba2a7f8b.