Lines Matching refs:time

181  * Convert date/time to RFC2445 Date-Time form #1 DATE WITH LOCAL TIME
183 static UnicodeString& getDateTimeString(UDate time, UnicodeString& str) {
185 Grego::timeToFields(time, year, month, dom, dow, doy, mid);
207 * Convert date/time to RFC2445 Date-Time form #2 DATE WITH UTC TIME
209 static UnicodeString& getUTCDateTimeString(UDate time, UnicodeString& str) {
210 getDateTimeString(time, str);
235 // character "T" must be used for separating date and time
271 // Calculate the time
272 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY;
273 time += (hour * U_MILLIS_PER_HOUR + min * U_MILLIS_PER_MINUTE + sec * U_MILLIS_PER_SECOND);
275 time -= offset;
277 return time;
372 * until time defined by UNTIL attribute or MIN_MILLIS if not available
549 // BYMONTH and BYDAY must be set at the same time
729 // as the transition time
1181 VTimeZone::writeSimple(UDate time, UnicodeString& result, UErrorCode& status) const {
1184 writeSimple(time, writer, status);
1385 UDate firstStart = MAX_MILLIS; // the earliest rule start time
1510 // create a time zone rule
1540 // start time
1562 // If this is STD, assume the time before this transition
1761 // Extract rules applicable to dates after the start time
1808 VTimeZone::writeSimple(UDate time, VTZWriter& writer, UErrorCode& status) const {
1819 getSimpleRulesNear(time, initial, std, dst, status);
1844 appendMillis(time, *icutzprop);
1940 // Update until time
1991 // Update until time
2031 basictz.getOffset(0.0/*any time*/, false, raw, dst, status);
2189 * Write a single start time
2193 int32_t fromOffset, int32_t toOffset, UDate time, UBool withRDATE,
2198 beginZoneProps(writer, isDst, zonename, fromOffset, toOffset, time, status);
2206 writer.write(getDateTimeString(time + fromOffset, timestr));
2441 * Write the final time zone rule using RRULE, with no UNTIL attribute
2460 // If the rule's mills in a day is out of range, adjust start time.