コンストラクタと説明 |
---|
AccountDateTimeFormatter()
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
initializeParser(boolean isTimeZoneConvert,
String... parseFormatIds)
AccountDateTimeParser を設定します。 |
void |
initializePrinter(boolean isTimeZoneConvert,
String... printFormatIds)
AccountDateTimePrinter を設定します。 |
Date |
parse(String text,
Locale locale) |
String |
print(Date object,
Locale locale) |
public void initializeParser(boolean isTimeZoneConvert, String... parseFormatIds)
AccountDateTimeParser
を設定します。isConvertTimeZone
- タイムゾーン変換をする場合true
parseFormatIds
- 入力用のフォーマットパターンDateTimeFormatIds
で定義されているフォーマットIdpublic void initializePrinter(boolean isTimeZoneConvert, String... printFormatIds)
AccountDateTimePrinter
を設定します。isConvertTimeZone
- タイムゾーン変換をする場合true
printFormatIds
- 表示用のフォーマットパターンDateTimeFormatIds
で定義されているフォーマットIdpublic Date parse(String text, Locale locale) throws ParseException
parse
インタフェース内 org.springframework.format.Parser<Date>
ParseException
Copyright © 2012 NTT DATA INTRAMART CORPORATION