com.twitter.common.args.parsers
Class DateParser

java.lang.Object
  extended by com.twitter.common.args.parsers.NonParameterizedTypeParser<Date>
      extended by com.twitter.common.args.parsers.DateParser

Date parser.


Constructor Summary
DateParser()
          
Method Summary
 Date doParse(String raw)
          
Methods inherited from class com.twitter.common.args.parsers.NonParameterizedTypeParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateParser

public DateParser()
Method Detail

doParse

public Date doParse(String raw)
Description copied from class: NonParameterizedTypeParser
Performs the parsing of the raw string.

Specified by:
doParse in class NonParameterizedTypeParser<Date>
Parameters:
raw - Value to parse.
Returns:
The parsed value.