ae.utils.time.format

Time formatting functions.

Members

Functions

formatTime
string formatTime(SysTime t)

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

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

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

putTime
void putTime(S sink, SysTime t)

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

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

Format a SysTime 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>