Java examples for java.util:Calendar
get Empty Calendar Greenwich
//package com.java2s; import java.util.Calendar; import java.util.TimeZone; public class Main { public static void main(String[] argv) throws Exception { System.out.println(getEmptyCalendarGreenwich()); }//w ww . ja v a 2s. com public static Calendar getEmptyCalendarGreenwich() { Calendar calendar = Calendar.getInstance(TimeZone .getTimeZone("Etc/Greenwich")); calendar.clear(); return calendar; } }