gc->setFirstDayOfWeek(UCAL_MONDAY);
gc->setMinimalDaysInFirstWeek(4);
- // Force the calender to resolve the fields once.
+ // Force the calendar to resolve the fields once.
// The maximum week number in 2011 is 52.
gc->set(UCAL_YEAR, 2011);
gc->get(UCAL_YEAR, status);
Calendar *cal;
// Create a new Gregorian Calendar.
- cal = Calendar::createInstance("en_US@calender=gregorian", status);
+ cal = Calendar::createInstance("en_US@calendar=gregorian", status);
if (U_FAILURE(status)) {
dataerrln("Error creating Gregorian calendar.");
return;
gc.setFirstDayOfWeek(Calendar.MONDAY);
gc.setMinimalDaysInFirstWeek(4);
- // Force the calender to resolve the fields once.
+ // Force the calendar to resolve the fields once.
// The maximum week number in 2011 is 52.
gc.set(Calendar.YEAR, 2011);
gc.get(Calendar.YEAR);