MILLIS_SINCE_4713 property

int MILLIS_SINCE_4713
getter/setter pair

Returns the number of millis at January 1st 4713 BC

Calendar refCal = (Calendar) GregorianCalendar(TimeZone.getTimeZone('UTC')); refCal.set(Calendar.ERA, GregorianCalendar.BC); refCal.set(Calendar.YEAR, 4713); refCal.set(Calendar.MONTH, Calendar.JANUARY); refCal.set(Calendar.DAY_OF_MONTH, 1); refCal.set(Calendar.HOUR, 12); refCal.set(Calendar.MINUTE, 0); refCal.set(Calendar.SECOND, 0); refCal.set(Calendar.MILLISECOND, 0); MILLIS_SINCE_4713 = refCal.getTimeInMillis() - 43200000L; //(43200000L: 12 hour correction factor taken from DBFViewer2000)

Implementation

static int MILLIS_SINCE_4713 = -210866803200000;