|
SASAX API - 1.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jp.ne.dti.lares.foozy.sasax.glue.DateTimeFormat.UTCParser
Parser for 'Z' as UTC time zone.
This sets
ZONE_OFFSET
value.
Constructor Summary | |
DateTimeFormat.UTCParser(DateTimeFormat.Parser next)
Constructor. |
Method Summary | |
boolean |
accepts(char c)
Examine whether specified character is acceptable or not. |
DateTimeFormat.Parser |
parse(DateTimeInfo info,
char c)
Parse specified character. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DateTimeFormat.UTCParser(DateTimeFormat.Parser next)
next
- parser for string after time zone part.Method Detail |
public boolean accepts(char c)
This returns true when specified character is 'Z'.
accepts
in interface DateTimeFormat.Parser
jp.ne.dti.lares.foozy.sasax.glue.DateTimeFormat.Parser
c
- examination target characterpublic DateTimeFormat.Parser parse(DateTimeInfo info, char c)
When specified character is acceptable one(= 'Z'),
this sets
zone offset
value of info to '0',
and returns NEXT.
parse
in interface DateTimeFormat.Parser
jp.ne.dti.lares.foozy.sasax.glue.DateTimeFormat.Parser
info
- where parsing result is storedc
- parsing target character
|
SASAX API - 1.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |