/** * update * */ private void getTime() { getDays(this); getHours(this); getMinutes(this); getSeconds(this); }
/** * update * */ private void getTime() { getDays(this); getHours(this); getMinutes(this); getSeconds(this); }
/** * format with a date time * @param format * @param time * @return the string */ public static String format(String format, long time) { TimeFormat f = new TimeFormat(time); return f.parse(format, f.getDays(), f.getHours(), f.getMinutes(), f.getSeconds(), f.getMilliseconds()); }
/** * format with a date time */ public static String format(String format, long time) { TimeFormat f = new TimeFormat(time); return f.parse(format, f.getDays(), f.getHours(), f.getMinutes(), f.getSeconds(), f.getMilliseconds()); }