BF [ 2769181 ] - GregorianCalendar out of bounds

https://sourceforge.net/tracker/index.php?func=detail&aid=2769181&group_id=176962&atid=879332
This commit is contained in:
Carlos Ruiz 2009-04-27 13:53:21 +00:00
parent 0414dd072b
commit 2be6a1d26f
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class ScheduleUtil
private MAssignmentSlot[] m_timeSlots = null;
/** Begin Timestamp 1/1/1970 */
public static final Timestamp EARLIEST = new Timestamp(new GregorianCalendar(1970,1,1).getTimeInMillis());
public static final Timestamp EARLIEST = new Timestamp(new GregorianCalendar(1970,0,1).getTimeInMillis());
/** End Timestamp 12/31/2070 */
public static final Timestamp LATEST = new Timestamp(new GregorianCalendar(2070,11,31).getTimeInMillis());