/** * construct from time breakdown, and the zone. * * @param zone * The time zone. * @param tb * The TimeBreakdown with the values. */ public MyTime(BasicTimeService timeService, TimeZone zone, TimeBreakdown tb) { this.timeService = timeService; GregorianCalendar cal = BasicTimeService.newCalendar(zone, tb.getYear(), tb.getMonth() - 1, tb.getDay(), tb.getHour(), tb.getMin(), tb.getSec(), tb.getMs()); m_millisecondsSince = cal.getTimeInMillis(); }