number = number * 10; result.setMilli((short) number); hasNumber = false; } else {
number = number * 10; result.setMilli((short)number); hasNumber = false;
/** * Fill in the fields of the TimeDuration with the given values * @param year the year value * @param month the month value * @param day the day value * @param hour the hour value * @param minute the minute value * @param second the second value */ public void setValue(short year, short month, short day, short hour, short minute, short second, short millisecond) { this.setYear(year); this.setMonth(month); this.setDay(day); this.setHour(hour); this.setMinute(minute); this.setSeconds(second); this.setMilli(millisecond); }
/** * Fill in the fields of the TimeDuration with the given values * * @param year the year value * @param month the month value * @param day the day value * @param hour the hour value * @param minute the minute value * @param second the second value */ public void setValue(short year, short month, short day, short hour, short minute, short second, short millisecond) { this.setYear(year); this.setMonth(month); this.setDay(day); this.setHour(hour); this.setMinute(minute); this.setSeconds(second); this.setMilli(millisecond); }