UtcOffset.toString

nuint toString(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.5.0-preview.1+2b78205f20cc35300dd4c17a3cb23f4089aa8243.