|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.framework.util.DateConversionUtil
Date
用の変換ユーティリティです。
メソッドの概要 | |
static String |
findDelimiter(String value)
日付のデリミタを探します。 |
static String |
findDelimiterFromPattern(String pattern)
日付パターンから日付のデリミタを探します。 |
static SimpleDateFormat |
getDateFormat(Locale locale)
SimpleDateFormat を返します。 |
static SimpleDateFormat |
getDateFormat(String s,
Locale locale)
SimpleDateFormat を返します。 |
static SimpleDateFormat |
getDateFormat(String s,
String pattern,
Locale locale)
SimpleDateFormat を返します。 |
static String |
getPattern(Locale locale)
日付パターンを返します。 |
static SimpleDateFormat |
getY4DateFormat(Locale locale)
年4桁用の SimpleDateFormat を返します。 |
static String |
getY4Pattern(Locale locale)
年4桁用の日付パターンを返します。 |
static String |
removeDelimiter(String pattern)
日付パターンから日付のデリミタを取り除きます。 |
static Date |
toDate(Object o)
Date に変換します。 |
static Date |
toDate(Object o,
String pattern)
Date に変換します。 |
static Date |
toDate(String s,
String pattern)
Date に変換します。 |
static Date |
toDate(String s,
String pattern,
Locale locale)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
public static Date toDate(Object o)
Date
に変換します。
o
-
Date
public static Date toDate(Object o, String pattern)
Date
に変換します。
o
- pattern
-
Date
public static Date toDate(String s, String pattern)
Date
に変換します。
s
- pattern
-
Date
public static Date toDate(String s, String pattern, Locale locale)
s
- pattern
- locale
-
public static SimpleDateFormat getDateFormat(String s, String pattern, Locale locale)
SimpleDateFormat
を返します。
s
- pattern
- locale
-
SimpleDateFormat
public static SimpleDateFormat getDateFormat(String s, Locale locale)
SimpleDateFormat
を返します。
s
- locale
-
SimpleDateFormat
public static SimpleDateFormat getDateFormat(Locale locale)
SimpleDateFormat
を返します。
locale
-
SimpleDateFormat
public static SimpleDateFormat getY4DateFormat(Locale locale)
SimpleDateFormat
を返します。
locale
-
SimpleDateFormat
public static String getY4Pattern(Locale locale)
locale
-
public static String getPattern(Locale locale)
locale
-
public static String findDelimiter(String value)
value
-
public static String findDelimiterFromPattern(String pattern)
pattern
-
public static String removeDelimiter(String pattern)
pattern
-
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |