gfx.priv.datetimeformat

Contains functions for formatting a SysTime object

Code taken from https://github.com/cmays90/datetimeformat with minor modifications: - no UTF validation - refactor with statement

Members

Classes

SysTimeFormatException
class SysTimeFormatException

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

Functions

format
string format(SysTime dt, string formatString)

Formats dt according to formatString.

format
string format(SysTime dt, DayOfWeek dayOfWeek, string formatString)
Undocumented in source. Be warned that the author may not have intended to support it.

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