blob: 1d8bf2a857b608dd5f7cd2f0a3740e604baa468e [file] [log] [blame]
Sample Name ---- Spark DateTimeFormatter
Introduction:
The DateTimeFormatter class provides locale-sensitve formatting for a Date object. This class is a wrapper class around the flash.globalization.DateTimeFormatter class. Therefore, the locale-specific formatting functionality and the month names, day names and the first day of the week are provided by the flash.globalization.DateTimeFormatter.
For more information about flash.globalization.DateTimeFormatter, please visit: http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/globalization/DateTimeFormatter.html
Usage of the sample code:
1. Select a Locale from the locale comboBox first. It will use en_US as the default choice.
2. Select a date from the date chooser.
3. The formatted date string will be shown at the bottom.