Lines Matching refs:c2
2731 Calendar *c2 = Calendar::createInstance("ja_JP_TRADITIONAL",status);
2733 if(!c1 || !c2 || U_FAILURE(status)) {
2738 c2->set(UCAL_HOUR,2);
2739 c1->setTime(c2->getTime(status),status);
2740 // *c1 = *c2;
2743 c2->roll(UCAL_HOUR,(int32_t)3,status);
2747 } else if(*c1 != *c2) {
2751 c1->setTime(c2->getTime(status),status);
2753 c2->roll(UCAL_HOUR,(UBool)FALSE,status);
2757 } else if(*c1 != *c2) {
2762 delete c2;
2767 c2 = Calendar::createInstance("th_TH@calendar=buddhist",status);
2769 if(!c1 || !c2 || U_FAILURE(status)) {
2774 c2->set(UCAL_HOUR,2);
2775 c1->setTime(c2->getTime(status),status);
2776 //*c1 = *c2;
2784 c2->add(UCAL_HOUR,(int32_t)1,status);
2788 } else if(*c1 != *c2) {
2793 delete c2;
2798 c2 = Calendar::createInstance("es_ES",status);
2800 if(!c1 || !c2 || U_FAILURE(status)) {
2805 c2->set(UCAL_YEAR,1900);
2806 c1->setTime(c2->getTime(status),status);
2807 //*c1 = *c2;
2810 c2->add(UCAL_YEAR,(int32_t)9,status);
2814 } else if(*c1 != *c2) {
2819 delete c2;