]> granicus.if.org Git - icu/commitdiff
ICU-20879 fix typo in tests, calender → calendar
authorPeter Edberg <pedberg@unicode.org>
Tue, 10 Mar 2020 18:05:55 +0000 (11:05 -0700)
committerpedberg-icu <42151464+pedberg-icu@users.noreply.github.com>
Wed, 11 Mar 2020 06:06:21 +0000 (23:06 -0700)
icu4c/source/test/intltest/calregts.cpp
icu4c/source/test/intltest/caltest.cpp
icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/CalendarRegressionTest.java

index 744ca69baf83c42084cb84207d174cf8fdf246df..b3ac46e25eb5d11c82841da2b95c99610ce94906 100644 (file)
@@ -2913,7 +2913,7 @@ void CalendarRegressionTest::TestT8596(void) {
     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);
index 82e34f20f5efb8e590988b723e077cf0d8100e67..02a064489ed390f40788aaefcd5682401fc29dc0 100644 (file)
@@ -2327,7 +2327,7 @@ void CalendarTest::TestTimeStamp() {
     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;
index 8f73d16217803b4b7657d6d9451e76159b2c60b6..41503497ecf81efaf1d03f2d6961ad18426eafa8 100644 (file)
@@ -2287,7 +2287,7 @@ public class CalendarRegressionTest extends com.ibm.icu.dev.test.TestFmwk {
         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);