ae.utils.time

Time string formatting and such.

Modules

common
module ae.utils.time.common

Time formats for string formatting and parsing.

format
module ae.utils.time.format

Time formatting functions.

fpdur
module ae.utils.time.fpdur

Duration functions.

parse
module ae.utils.time.parse

Time parsing functions.

parsedur
module ae.utils.time.parsedur

Duration parsing functions.

Public Imports

ae.utils.time.common
public import ae.utils.time.common;
Undocumented in source.
ae.utils.time.format
public import ae.utils.time.format;
Undocumented in source.
ae.utils.time.fpdur
public import ae.utils.time.fpdur;
Undocumented in source.
ae.utils.time.parse
public import ae.utils.time.parse;
Undocumented in source.
ae.utils.time.parsedur
public import ae.utils.time.parsedur;
Undocumented in source.

Members

Aliases

StdTime
alias StdTime = typeof(SysTime.init.stdTime)
Undocumented in source.
stdDur
alias stdDur = hnsecs

Convert from StdTime to Duration

Properties

empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
fracSecs
Duration fracSecs [@property getter]

Workaround SysTime.fracSecs only being available in 2.067, and SysTime.fracSec becoming deprecated in the same version.

split
auto split [@property getter]

As above, for Duration.split and Duration.get

stdTime
StdTime stdTime [@property getter]

Like SysTime.stdTime.

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>