Lines Matching refs:cal1
190 GregorianCalendar *cal1 = new GregorianCalendar(status) ; in test4028518() local
193 delete cal1; in test4028518()
197 GregorianCalendar *cal2 = cal1->clone() ; in test4028518()
199 printdate(cal1, "cal1: ") ; in test4028518()
201 cal1->add(UCAL_DATE, 1, status) ; in test4028518()
203 printdate(cal1, "cal1 after adding 1 day:") ; in test4028518()
205 delete cal1; in test4028518()
214 LocalPointer<GregorianCalendar> cal1(new GregorianCalendar(status), status); in Test9019() local
220 cal1->set(UCAL_HOUR, 1); in Test9019()
222 cal1->clear(); in Test9019()
225 cal1->set(2011,UCAL_MAY,06); in Test9019()
227 printdate(cal1.getAlias(), "cal1: ") ; in Test9019()
228 cal1->setLenient(FALSE); in Test9019()
229 cal1->add(UCAL_MONTH,8,status); in Test9019()
231 printdate(cal1.getAlias(), "cal1 (lenient) after adding 8 months:") ; in Test9019()
234 if(!cal1->equals(*cal2,status)) { in Test9019()
808 GregorianCalendar *cal1 = new GregorianCalendar(1997, 10, 11, 10, 20, 40,status); in test4092362() local
811 delete cal1; in test4092362()
821 logln( UnicodeString(" Cal1 = ") + cal1->getTime(status) ); in test4092362()
822 logln( UnicodeString(" Cal1 time in ms = ") + cal1->get(UCAL_MILLISECOND,status) ); in test4092362()
836 if( *cal1 != *cal2 ) in test4092362()
839 delete cal1; in test4092362()
872 Calendar *cal1 = new GregorianCalendar(*PST,status); in test4096231() local
877 delete cal1; in test4096231()
880 cal1->setTime(880698639000.0,status); in test4096231()
886 logln(UnicodeString("PST 1 is: ") + (h1=cal1->get(UCAL_HOUR_OF_DAY, status))); in test4096231()
887 cal1->setTimeZone(*GMT); in test4096231()
888 logln(UnicodeString("GMT 2 is: ") + (h2=cal1->get(UCAL_HOUR_OF_DAY, status))); in test4096231()
897 cal2->set(cal1->get(UCAL_YEAR,status), in test4096231()
898 cal1->get(UCAL_MONTH,status), in test4096231()
899 cal1->get(UCAL_DATE,status), in test4096231()
900 cal1->get(UCAL_HOUR_OF_DAY,status), in test4096231()
901 cal1->get(UCAL_MINUTE,status), in test4096231()
902 cal1->get(UCAL_SECOND,status)); in test4096231()
910 cal3->set(cal1->get(UCAL_YEAR,status), in test4096231()
911 cal1->get(UCAL_MONTH,status), in test4096231()
912 cal1->get(UCAL_DATE,status), in test4096231()
913 cal1->get(UCAL_HOUR_OF_DAY,status), in test4096231()
914 cal1->get(UCAL_MINUTE,status), in test4096231()
915 cal1->get(UCAL_SECOND,status)); in test4096231()
925 delete cal1; in test4096231()