it.amattioli.encapsulate.dates.format
Class Parser
java.lang.Object
it.amattioli.encapsulate.dates.format.Parser
- Direct Known Subclasses:
- AlphabeticalDayParser, AlphabeticalMonthParser, DayParser, IntervalParser, MonthParser, SingleNumberParser
public abstract class Parser
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser(Locale locale,
Parser nextInChain)
create
public static Parser create()
create
public static Parser create(Locale locale)
create
public static Parser create(Locale locale,
TimeInterval otherSide)
getLocale
public Locale getLocale()
setLocale
public void setLocale(Locale locale)
setNextInChain
public void setNextInChain(Parser nextInChain)
parse
public TimeInterval parse(String s)
throws ParseException
- Throws:
ParseException
tryParse
public abstract TimeInterval tryParse(String s)
throws ParseException
- Throws:
ParseException
Copyright © 2011. All Rights Reserved.