Package | flash.globalization |
Class | public final class DateTimeStyle |
Inheritance | DateTimeStyle Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.1, AIR 2 |
DateTimeFormatter.setDateTimeStyles()
method.
The CUSTOM
constant cannot be used in the DateTimeFormatter constructor or the
DateFormatter.setDateTimeStyles()
method.
This constant is instead set as the timeStyle
and dateStyle
property as a side effect of
calling the DateTimeFormatter.setDateTimePattern()
method.
Related API Elements
Public Properties
Public Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
CUSTOM : String = "custom" [static]
Specifies that a custom pattern string is used to specify the date or time style. | DateTimeStyle | ||
LONG : String = "long" [static]
Specifies the long style of a date or time. | DateTimeStyle | ||
MEDIUM : String = "medium" [static]
Specifies the medium style of a date or time. | DateTimeStyle | ||
NONE : String = "none" [static]
Specifies that the date or time should not be included in the formatted string. | DateTimeStyle | ||
SHORT : String = "short" [static]
Specifies the short style of a date or time. | DateTimeStyle |
Constant Detail
CUSTOM | Constant |
public static const CUSTOM:String = "custom"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.1, AIR 2 |
Specifies that a custom pattern string is used to specify the date or time style.
LONG | Constant |
public static const LONG:String = "long"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.1, AIR 2 |
Specifies the long style of a date or time.
MEDIUM | Constant |
public static const MEDIUM:String = "medium"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.1, AIR 2 |
Specifies the medium style of a date or time.
NONE | Constant |
public static const NONE:String = "none"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.1, AIR 2 |
Specifies that the date or time should not be included in the formatted string.
SHORT | Constant |
public static const SHORT:String = "short"
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.1, AIR 2 |
Specifies the short style of a date or time.
Thu Dec 6 2018, 01:12 PM -08:00