public static Calendar getProlepticGregorianCalendarUTC() {
    GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("UTC".intern()));
    calendar.setGregorianChange(new java.util.Date(Long.MIN_VALUE));
    return calendar;
  }
TODO - this is a temporary fix for handling Julian calendar dates.
Returns a Gregorian calendar that can be used from year 0+ instead of default 1582.10.15.
This is desirable for some UDFs that work on dates which normally would use Julian calendar.
@return the calendar
ql/src/java/org/apache/hadoop/hive/ql/util/DateTimeMath.java