| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
LdiDateConversionUtil()
インスタンスを構築します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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) |
public static Date toDate(Object o, String pattern)
Dateに変換します。o - pattern - Datepublic static Date toDate(String s, String pattern)
Dateに変換します。s - pattern - Datepublic 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 - SimpleDateFormatpublic static SimpleDateFormat getDateFormat(String s, Locale locale)
SimpleDateFormatを返します。s - locale - SimpleDateFormatpublic static SimpleDateFormat getDateFormat(Locale locale)
SimpleDateFormatを返します。locale - SimpleDateFormatpublic static SimpleDateFormat getY4DateFormat(Locale locale)
SimpleDateFormatを返します。locale - SimpleDateFormatpublic static String getY4Pattern(Locale locale)
locale - public static String findDelimiter(String value)
value - public static String findDelimiterFromPattern(String pattern)
pattern - Copyright © 2015 The DBFlute Project. All rights reserved.