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, waitSEpublic LocalDateTimeParser(DateTimeFormatter formatter)
formatter - Joda DateTimeFormatter インスタンス public LocalDateTime parse(StringSE text, LocaleSE locale) throws ParseExceptionSE
ParserParser<LocalDateTime> の parse text - テキスト文字列 locale - 現在のユーザーロケール ParseExceptionSE - java.text 解析ライブラリで解析例外が発生したとき