@DeprecatedSE public final class LocalDateTimeParser extends ObjectSE implements Parser<LocalDateTime>
DateTimeFormatter
を使用して Joda LocalDateTime
インスタンスを解析します。コンストラクターと説明 |
---|
LocalDateTimeParser(DateTimeFormatter formatter) 使用すべきではありません。 新しい DateTimeParser を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
LocalDateTime | parse(StringSE text, LocaleSE locale) 使用すべきではありません。 テキスト文字列を解析して T を生成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public LocalDateTimeParser(DateTimeFormatter formatter)
formatter
- Joda DateTimeFormatter インスタンス public LocalDateTime parse(StringSE text, LocaleSE locale) throws ParseExceptionSE
Parser
Parser<LocalDateTime>
の parse
text
- テキスト文字列 locale
- 現在のユーザーロケール ParseExceptionSE
- java.text 解析ライブラリで解析例外が発生したとき