datetimeformat

Contains functions for formatting a SysTime object *

Members

Classes

SysTimeFormatException
class SysTimeFormatException

Exception thrown if there was a problem in formatting a date or time.

Functions

format
string format(const SysTime dt, string formatString)

Formats dt according to formatString. * * Returns: * the formatted date string. * Throws: * SysTimeFormatException if the formatting fails, e.g. because of an error in the format * string. * UtfException if formatString is not a correctly-formed UTF-8 string.

Variables

LONG_DAY_NAME
string[] LONG_DAY_NAME;

Full names of the days of the week.

LONG_L_DAY_NAME
string[7] LONG_L_DAY_NAME;

Full names of the days of the week.

LONG_L_MONTH_NAME
string[13] LONG_L_MONTH_NAME;

Full names of the months of the year.

LONG_MONTH_NAME
string[Month.max + 1] LONG_MONTH_NAME;

Full names of the months of the year.

LONG_U_DAY_NAME
string[7] LONG_U_DAY_NAME;

Full names of the days of the week.

LONG_U_MONTH_NAME
string[13] LONG_U_MONTH_NAME;

Full names of the months of the year.

SHORT_DAY_NAME
string[] SHORT_DAY_NAME;

Short (three-letter) Days of the week

SHORT_L_DAY_NAME
string[7] SHORT_L_DAY_NAME;

Short (three-letter) names of the days of the week.

SHORT_L_MONTH_NAME
string[13] SHORT_L_MONTH_NAME;

Short (three-letter) names of the months of the year.

SHORT_MONTH_NAME
string[] SHORT_MONTH_NAME;

Short (three-letter) names of the months of the year.

SHORT_U_DAY_NAME
string[7] SHORT_U_DAY_NAME;

Short (three-letter) names of the days of the week.

SHORT_U_MONTH_NAME
string[13] SHORT_U_MONTH_NAME;

Short (three-letter) names of the months of the year.

Meta