new GregorianCalendar(Locale aLocale) : GregorianCalendar « java.util « Java by API





new GregorianCalendar(Locale aLocale)

  
import java.util.GregorianCalendar;
import java.util.Locale;

public class Main {
  public static void main(String[] a) {
    GregorianCalendar calendar = new GregorianCalendar(Locale.UK);
  }
}

   
    
  










Related examples in the same category

1.new GregorianCalendar()
2.new GregorianCalendar(int year, int month, int dayOfMonth)
3.new GregorianCalendar(TimeZone zone, Locale aLocale)
4.GregorianCalendar: get(int a)
5.GregorianCalendar: getTime()
6.GregorianCalendar: isLeapYear()
7.GregorianCalendar: roll(int field, boolean up)
8.GregorianCalendar: set(int field, int value)
9.GregorianCalendar: set(int year, int month, int date)
10.GregorianCalendar: setTime(Date date)