From 2be6a1d26fc663e9fc683f375243e468783a8ac3 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 27 Apr 2009 13:53:21 +0000 Subject: [PATCH] BF [ 2769181 ] - GregorianCalendar out of bounds https://sourceforge.net/tracker/index.php?func=detail&aid=2769181&group_id=176962&atid=879332 --- base/src/org/compiere/model/ScheduleUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/ScheduleUtil.java b/base/src/org/compiere/model/ScheduleUtil.java index 0cf4b3736d..3f0afb5c53 100644 --- a/base/src/org/compiere/model/ScheduleUtil.java +++ b/base/src/org/compiere/model/ScheduleUtil.java @@ -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());