Android examples for java.util:Timezone
Create Calendar from timezone
import java.util.Calendar; import java.util.TimeZone; public class Main { private static final TimeZone TIME_ZONE = TimeZone.getTimeZone("Asia/Tokyo"); public static Calendar firstDate() { Calendar cal = Calendar.getInstance(TIME_ZONE); return cal;/*from w ww . j a v a 2 s . c om*/ } }