org.mmbase.util.dateparser
Class DateParser
java.lang.Object
org.mmbase.util.dateparser.DateParser
- All Implemented Interfaces:
- DateParserConstants
- public class DateParser
- extends Object
- implements DateParserConstants
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultTimeZone
public static TimeZone defaultTimeZone
token_source
public DateParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
DateParser
public DateParser(InputStream stream)
DateParser
public DateParser(InputStream stream,
String encoding)
DateParser
public DateParser(Reader stream)
DateParser
public DateParser(DateParserTokenManager tm)
setDefault
public static void setDefault(TimeZone tz)
main
public static void main(String[] argv)
throws ParseException,
InterruptedException
- Throws:
ParseException
InterruptedException
toDate
public Date toDate()
dynamic
public boolean dynamic()
beginOfHour
protected void beginOfHour()
beginOfDay
protected void beginOfDay()
beginOfMonth
protected void beginOfMonth()
beginOfYear
protected void beginOfYear()
now
protected void now()
start
public final void start()
throws ParseException
- Throws:
ParseException
time
public final void time()
throws ParseException
- Throws:
ParseException
date
public final void date()
throws ParseException
- Throws:
ParseException
time_zone
public final void time_zone()
throws ParseException
- Throws:
ParseException
integer
public final void integer()
throws ParseException
- Throws:
ParseException
year_number
public final void year_number()
throws ParseException
- Throws:
ParseException
inc_number
public final void inc_number()
throws ParseException
- Throws:
ParseException
month_number
public final void month_number()
throws ParseException
- Throws:
ParseException
day_number
public final void day_number()
throws ParseException
- Throws:
ParseException
hour_number
public final void hour_number()
throws ParseException
- Throws:
ParseException
minute_number
public final void minute_number()
throws ParseException
- Throws:
ParseException
second_number
public final void second_number()
throws ParseException
- Throws:
ParseException
millisecond_number
public final void millisecond_number()
throws ParseException
- Throws:
ParseException
increment
public final void increment()
throws ParseException
- Throws:
ParseException
decrement
public final void decrement()
throws ParseException
- Throws:
ParseException
inc_period
public final void inc_period()
throws ParseException
- Throws:
ParseException
day_of_week
public final void day_of_week()
throws ParseException
- Throws:
ParseException
month_of_year
public final void month_of_year()
throws ParseException
- Throws:
ParseException
next
public final void next()
throws ParseException
- Throws:
ParseException
previous
public final void previous()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(InputStream stream,
String encoding)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(DateParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
MMBase build 1.8.1.20060716