|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jrobin.core.timespec.TimeParser
public class TimeParser
Class which parses at-style time specification (describided in detail on the rrdfetch man page), used in all RRDTool commands. This code is in most parts just a java port of Tobi's parsetime.c code.
Constructor Summary | |
---|---|
TimeParser(java.lang.String dateString)
Constructs TimeParser instance from the given input string. |
Method Summary | |
---|---|
TimeSpec |
parse()
Parses the input string specified in the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeParser(java.lang.String dateString)
dateString
- at-style time specification (read rrdfetch man page
for the complete explanation)Method Detail |
---|
public TimeSpec parse() throws RrdException
RrdException
- Thrown if the date string cannot be parsed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |