@Test public void testTonight() { Date now = new Date(); assertEquals(StringToTime.time("20:00:00.000", now), StringToTime.time("tonight", now)); }
public static Object time(Object dateTimeString) { return time(dateTimeString, new Date()); }
StringToTime extends Date { public static Object time(Object dateTimeString) { return time(dateTimeString, new Date()); } }
StringToTime extends Date { public static Object time(Object dateTimeString) { return time(dateTimeString, new Date()); } StringToTime();  StringToTime(Date date);  StringToTime(Object dateTimeString);  StringToTime(Object dateTimeString, String simpleDateFormat);  StringToTime(Object dateTimeString, Date now);  StringToTime(Object dateTimeString, Long now);  StringToTime(Object dateTimeString, Integer now);  StringToTime(Object dateTimeString, Date now, String simpleDateFormat); }
StringToTime extends Date { public static Object time(Object dateTimeString) { return time(dateTimeString, new Date()); } StringToTime();  StringToTime(Date date);  StringToTime(Object dateTimeString);  StringToTime(Object dateTimeString, String simpleDateFormat);  StringToTime(Object dateTimeString, Date now);  StringToTime(Object dateTimeString, Long now);  StringToTime(Object dateTimeString, Integer now);  StringToTime(Object dateTimeString, Date now, String simpleDateFormat); @Override long getTime(); Calendar getCal(); String format(String simpleDateFormat); @Override String toString(); static Object time(Object dateTimeString); static Object time(Object dateTimeString, Date now); static Object date(Object dateTimeString); static Object date(Object dateTimeString, Date now); static Object cal(Object dateTimeString); static Object cal(Object dateTimeString, Date now); }
StringToTime extends Date { public static Object time(Object dateTimeString) { return time(dateTimeString, new Date()); } StringToTime();  StringToTime(Date date);  StringToTime(Object dateTimeString);  StringToTime(Object dateTimeString, String simpleDateFormat);  StringToTime(Object dateTimeString, Date now);  StringToTime(Object dateTimeString, Long now);  StringToTime(Object dateTimeString, Integer now);  StringToTime(Object dateTimeString, Date now, String simpleDateFormat); @Override long getTime(); Calendar getCal(); String format(String simpleDateFormat); @Override String toString(); static Object time(Object dateTimeString); static Object time(Object dateTimeString, Date now); static Object date(Object dateTimeString); static Object date(Object dateTimeString, Date now); static Object cal(Object dateTimeString); static Object cal(Object dateTimeString, Date now);  }