| パッケージ | flash.globalization |
| クラス | public final class DateTimeStyle |
| 継承 | DateTimeStyle Object |
| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10.1, AIR 2 |
DateTimeFormatter.setDateTimeStyles() メソッドを呼び出すときに使用されます。
CUSTOM 定数は DateTimeFormatter コンストラクターまたは DateFormatter.setDateTimeStyles() メソッドでは使用できません。代わりに、この定数は DateTimeFormatter.setDateTimePattern() メソッドの呼び出しに伴う timeStyle および dateStyle プロパティとして設定されます。
関連する API エレメント
パブリックプロパティ
パブリックメソッド
パブリック定数
| 定数 | 定義元 | ||
|---|---|---|---|
| CUSTOM : String = "custom" [静的]
カスタムパターン文字列を使用して日付または時間スタイルを指定することを指定します。 | DateTimeStyle | ||
| LONG : String = "long" [静的]
長いスタイルの日付または時間を指定します。 | DateTimeStyle | ||
| MEDIUM : String = "medium" [静的]
中間スタイルの日付または時間を指定します。 | DateTimeStyle | ||
| NONE : String = "none" [静的]
フォーマットされた文字列に日付または時間を含まないことを指定します。 | DateTimeStyle | ||
| SHORT : String = "short" [静的]
短いスタイルの日付または時間を指定します。 | DateTimeStyle | ||
定数の詳細
CUSTOM | 定数 |
public static const CUSTOM:String = "custom"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10.1, AIR 2 |
カスタムパターン文字列を使用して日付または時間スタイルを指定することを指定します。
LONG | 定数 |
public static const LONG:String = "long"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10.1, AIR 2 |
長いスタイルの日付または時間を指定します。
MEDIUM | 定数 |
public static const MEDIUM:String = "medium"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10.1, AIR 2 |
中間スタイルの日付または時間を指定します。
NONE | 定数 |
public static const NONE:String = "none"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10.1, AIR 2 |
フォーマットされた文字列に日付または時間を含まないことを指定します。
SHORT | 定数 |
public static const SHORT:String = "short"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10.1, AIR 2 |
短いスタイルの日付または時間を指定します。
Tue Jun 12 2018, 10:34 AM Z
継承されるパブリックプロパティを隠す
継承されるパブリックプロパティを表示