W3cubDocs

/Haxe Flash

DateTimeFormatter

package flash.globalization

@:final@:require(flash10_1) Available on flash

Constructor

new (requestedLocaleIDName:String, ?dateStyle:DateTimeStyle, ?timeStyle:DateTimeStyle)

Variables

read only actualLocaleIDName:String

read only lastOperationStatus:LastOperationStatus

read only requestedLocaleIDName: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

Static methods

static getAvailableLocaleIDNames ():Vector<String>

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/globalization/DateTimeFormatter.html