public class AccountDateTimeParser extends Object implements org.springframework.format.Parser<Date>
AccountDateTimeFormatter#parse(String, Class, String...)
,
AccountDateTimeFormatter#parse(String, java.util.TimeZone, Class, String...)
を使って、文字列を Date
に変換する
Parser
の実装クラスです。Date
にします。Date
にします。コンストラクタと説明 |
---|
AccountDateTimeParser(boolean isConvertTimeZone,
String... formatIds)
コンストラクタ
|
public AccountDateTimeParser(boolean isConvertTimeZone, String... formatIds)
isConvertTimeZone
- タイムゾーン変換をする場合true
formatIds
- DateTimeFormatIds
で定義されているフォーマットIdspublic Date parse(String text, Locale locale) throws ParseException
parse
インタフェース内 org.springframework.format.Parser<Date>
ParseException
Copyright © 2012 NTT DATA INTRAMART CORPORATION