ae.utils.time.common

Time formats for string formatting and parsing.

Members

Enums

TimeFormatElement
enum TimeFormatElement

Based on php.net/date

Functions

timeFormatSize
size_t timeFormatSize(string fmt)

Calculate the maximum amount of characters needed to store a time in this format. Can be evaluated at compile-time.

Manifest constants

MaxTimezoneNameLength
enum MaxTimezoneNameLength;

We assume that no timezone will have a name longer than this. If one does, it is truncated to this length.

Structs

TimeFormats
struct TimeFormats
Undocumented in source.

Variables

MonthLongNames
auto MonthLongNames;
Undocumented in source.
MonthShortNames
auto MonthShortNames;
Undocumented in source.
WeekdayLongNames
auto WeekdayLongNames;
Undocumented in source.
WeekdayShortNames
auto WeekdayShortNames;
Undocumented in source.

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>