Here you can find the source of getCalendarUTC()
private static Calendar getCalendarUTC()
//package com.java2s; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.Locale; import java.util.TimeZone; public class Main { /**/*from w ww . ja v a2 s . c om*/ * The UTC time zone. */ private static final ThreadLocal<TimeZone> UTC_TZ = new ThreadLocal<TimeZone>() { @Override protected TimeZone initialValue() { return TimeZone.getTimeZone("UTC"); } }; /** * Get a UTC calendar with Locale US. */ private static Calendar getCalendarUTC() { return new GregorianCalendar(UTC_TZ.get(), Locale.US); } }