ae.utils.time.parse

Time parsing functions.

Members

Functions

parseLogTimestamp
SysTime parseLogTimestamp(string s)

Parse log timestamps generated by ae.sys.log, including all previous versions of it.

parseTime
deprecated SysTime parseTime(const(char)[] fmt, C[] t)
Undocumented in source. Be warned that the author may not have intended to support it.
parseTime
SysTime parseTime(C[] t, TimeZone tz)

Parse the given string into a SysTime, using the format spec fmt. This version generates specialized code for the given fmt.

parseTimeUsing
SysTime parseTimeUsing(C[] t, char[] fmt)

Parse the given string into 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 <vladimir@thecybershadow.net>