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