Esempio n. 1
0
 /**
  * Constructs TimeParser instance from the given input string.
  * @param dateString at-style time specification (read rrdfetch man page
  * for the complete explanation)
  */
 public TimeParser(String dateString)
 {
     scanner = new TimeScanner(dateString);
     spec    = new TimeSpec(dateString);
 }
Esempio n. 2
0
 /**
  * Constructs TimeParser instance from the given input string.
  * @param dateString at-style time specification (read rrdfetch man page
  * for the complete explanation)
  */
 public TimeParser(String dateString)
 {
    scanner = new TimeScanner(dateString);
    spec = new TimeSpec(dateString);
 }