ocean.text.convert.DateTime_tango

Support for formatting date/time values, in a locale-specific manner. See DateTimeLocale.format() for a description on how formatting is performed (below).

Reference links:

http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html
http://msdn.microsoft.com/en-us/library/system.globalization.datetimeformatinfo(VS.71).aspx

Members

Functions

asPrettyStr
AsPrettyStr asPrettyStr(Time value)
main
void main()

Structs

AsPrettyStr
struct AsPrettyStr

Wrapper struct which, when supplied to Formatter, prints value using current default locale settings.

DateTimeLocale
struct DateTimeLocale

How to format locale-specific date/time output

Variables

DateTimeDefault
DateTimeLocale DateTimeDefault;

The default DateTimeLocale instance

Meta

License

Tango Dual License: 3-Clause BSD License / Academic Free License v3.0. See LICENSE_TANGO.txt for details.

Version

Jan 2005: initial release Mar 2009: extracted from locale, and converted to a struct

Authors

John Chapman, Kris, mwarning