+U_DRAFT void U_EXPORT2
+ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode) {
+ if(U_FAILURE(*pErrorCode)) {
+ return;
+ }
+ Calendar *cpp_cal = (Calendar *)cal;
+ if(cpp_cal->getDynamicClassID() != GregorianCalendar::getStaticClassID()) {
+ *pErrorCode = U_UNSUPPORTED_ERROR;
+ return;
+ }
+ ((GregorianCalendar *)cpp_cal)->setGregorianChange(date, *pErrorCode);
+}
+
+U_DRAFT UDate U_EXPORT2
+ucal_getGregorianChange(const UCalendar *cal, UErrorCode *pErrorCode) {
+ if(U_FAILURE(*pErrorCode)) {
+ return (UDate)0;
+ }
+ Calendar *cpp_cal = (Calendar *)cal;
+ if(cpp_cal->getDynamicClassID() != GregorianCalendar::getStaticClassID()) {
+ *pErrorCode = U_UNSUPPORTED_ERROR;
+ return (UDate)0;
+ }
+ return ((GregorianCalendar *)cpp_cal)->getGregorianChange();
+}
+