Lines Matching refs:utmscale_fromInt64
103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
138 universal = utmscale_fromInt64(-epochOffset, scale, &status);
144 universal = utmscale_fromInt64(0, scale, &status);
147 log_err("utmscale_fromInt64(0, scale): scale = %d, result = %lld.\n", scale, universal);
200 result = utmscale_fromInt64(0, -1, &status);
202 log_err("utmscale_fromInt64(0, -1, status) did not set status to U_ILLEGAL_ARGUMENT_ERROR.\n");
213 result = utmscale_fromInt64(0, (UDateTimeScale)scale, &status);
215 log_err("utmscale_fromInt64(0, %d, &status) generated U_ILLEGAL_ARGUMENT_ERROR.\n", scale);
219 result = utmscale_fromInt64(fromMin, (UDateTimeScale)scale, &status);
221 log_err("utmscale_fromInt64(fromMin, %d, &status) generated U_ILLEGAL_ARGUMENT_ERROR.\n", scale);
226 result = utmscale_fromInt64(fromMin - 1, (UDateTimeScale)scale, &status);
228 log_err("utmscale_fromInt64(fromMin - 1, %d, &status) did not generate U_ILLEGAL_ARGUMENT_ERROR.\n", scale);
233 result = utmscale_fromInt64(fromMax, (UDateTimeScale)scale, &status);
235 log_err("utmscale_fromInt64(fromMax, %d, &status) generated U_ILLEGAL_ARGUMENT_ERROR.\n", scale);
240 result = utmscale_fromInt64(fromMax + 1, (UDateTimeScale)scale, &status);
242 log_err("utmscale_fromInt64(fromMax + 1, %d, &status) didn't generate U_ILLEGAL_ARGUMENT_ERROR.\n", scale);
248 result = utmscale_fromInt64(0, UDTS_MAX_SCALE, &status);
250 log_err("utmscale_fromInt64(0, UDTS_MAX_SCALE, &status) did not generate U_ILLEGAL_ARGUMENT_ERROR.\n");
476 ticks = utmscale_fromInt64((int64_t)icuDate, UDTS_ICU4C_TIME, &errorCode);
479 log_err("utmscale_fromInt64(date[%d], ICU4C)=%dd != %dd=.Net System.DateTime(%04d-%02d-%02d).Ticks\n",