Lines Matching full:ucal
25 #include "unicode/ucal.h"
410 UCalendar * ucal = ucal_open(trdfZone, -1, trdfLocale, UCAL_GREGORIAN, &status);
413 ucal_setMillis(ucal, ucal_getNow(), &status);
414 year = ucal_get(ucal, UCAL_YEAR, &status);
415 month = ucal_get(ucal, UCAL_MONTH, &status);
416 day = ucal_get(ucal, UCAL_DATE, &status);
417 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */
418 today = ucal_getMillis(ucal, &status);
419 ucal_close(ucal);