Exemple #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);
 }
Exemple #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);
 }