DateTimeFormatter
package flash.globalization
Available on flash
Static methods
staticgetAvailableLocaleIDNames():Vector<String>
Constructor
new(requestedLocaleIDName:String, ?dateStyle:DateTimeStyle, ?timeStyle:DateTimeStyle)
Variables
read onlyactualLocaleIDName:String
read onlylastOperationStatus:LastOperationStatus
read onlyrequestedLocaleIDName:String
Methods
format(dateTime:Date):String
formatUTC(dateTime:Date):String
getDateStyle():DateTimeStyle
getDateTimePattern():DateTimeStyle
getFirstWeekday():Int
getMonthNames(?nameStyle:DateTimeNameStyle, ?context:DateTimeNameContext):Vector<String>
getTimeStyle():DateTimeStyle
getWeekdayNames(?nameStyle:DateTimeNameStyle, ?context:DateTimeNameContext):Vector<String>
setDateTimePattern(pattern:String):Void
setDateTimeStyles(dateStyle:DateTimeStyle, timeStyle:DateTimeStyle):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/globalization/DateTimeFormatter.html