Lines Matching refs:ucal
24 #include "unicode/ucal.h"
402 UCalendar * ucal = ucal_open(trdfZone, -1, trdfLocale, UCAL_GREGORIAN, &status);
405 ucal_setMillis(ucal, ucal_getNow(), &status);
406 year = ucal_get(ucal, UCAL_YEAR, &status);
407 month = ucal_get(ucal, UCAL_MONTH, &status);
408 day = ucal_get(ucal, UCAL_DATE, &status);
409 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */
410 today = ucal_getMillis(ucal, &status);
411 ucal_close(ucal);