buf.formatTimeOfDayInto
fn
char[] formatTimeOfDayInto(long nanosOfDay, return char[] buf) @safe pure nothrowFormats a time of day into buf exactly like TimeOfDay.toString: HH:MM:SS[.f{1,9}], the fraction omitted when zero and trailing zeros trimmed otherwise. Allocation-free.
Parameters
nanosOfDay | nanoseconds since midnight |
buf | caller-provided storage (at least 18 bytes) |
Returns
the written slice of