Lines Matching refs:ucal
427 UCalendar * ucal = ucal_open(trdfZone, -1, trdfLocale, UCAL_GREGORIAN, &status); in TestRelativeDateFormat() local
430 ucal_setMillis(ucal, ucal_getNow(), &status); in TestRelativeDateFormat()
431 year = ucal_get(ucal, UCAL_YEAR, &status); in TestRelativeDateFormat()
432 month = ucal_get(ucal, UCAL_MONTH, &status); in TestRelativeDateFormat()
433 day = ucal_get(ucal, UCAL_DATE, &status); in TestRelativeDateFormat()
434 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ in TestRelativeDateFormat()
435 today = ucal_getMillis(ucal, &status); in TestRelativeDateFormat()
436 ucal_close(ucal); in TestRelativeDateFormat()
1553 UCalendar* ucal = ucal_open(zoneGMT, -1, "root", UCAL_GREGORIAN, &status); in TestContext() local
1574 ucal_setMillis(ucal, today, &status); in TestContext()
1575 ucal_add(ucal, UCAL_DATE, -1, &status); in TestContext()
1576 yesterday = ucal_getMillis(ucal, &status); in TestContext()
1596 ucal_close(ucal); in TestContext()
1786 UCalendar* ucal = ucal_open(zoneGMT, -1, localeForFields, UCAL_DEFAULT, &status); in TestFormatForFields() local
1817 ucal_setMillis(ucal, date2015Feb25, &status); in TestFormatForFields()
1819 … ulen = udat_formatCalendarForFields(udfmt, ucal, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1854 ucal_close(ucal); in TestFormatForFields()