ae.utils.time.format

Time formatting functions.

Members

Enums

isFormattableTime
eponymoustemplate isFormattableTime(T)
Undocumented in source.

Functions

formatTime
string formatTime(Time t)

Format a time value using the format spec fmt. This version generates specialized code for the given fmt.

formatTime
string formatTime(Time t, string fmt)
deprecated string formatTime(string fmt, SysTime t)

Format a time value using the format spec fmt. This version parses fmt at runtime.

putTime
void putTime(S sink, Time t)

Format a time value using the format spec fmt. This version generates specialized code for the given fmt.

putTime
void putTime(S sink, Time t, string fmt)
deprecated void putTime(S sink, string fmt, SysTime t)

Format a time value using the format spec fmt. This version parses fmt at runtime.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>