Lines Matching defs:start
83 static int32_t parseAsciiDigits(const UnicodeString& str, int32_t start, int32_t length, UErrorCode& status) {
87 if (length <= 0 || str.length() < start || (start + length) > str.length()) {
92 if (str.charAt(start) == PLUS) {
93 start++;
95 } else if (str.charAt(start) == MINUS) {
97 start++;
102 int32_t digit = str.charAt(start + i) - 0x0030;
304 // utf-offset must start with "+" or "-"
518 static TimeZoneRule* createRuleByRRULE(const UnicodeString& zonename, int rawOffset, int dstSavings, UDate start,
578 // Use DOW_GEQ_DOM rule with firstDay as the start date
675 // Calculate start/end year and missing fields
677 Grego::timeToFields(start + fromOffset, startYear, startMonth, startDOM,
722 UDate start, UVector* dates, int32_t fromOffset, UErrorCode& status) {
728 // When no RDATE line is provided, use start (DTSTART)
730 retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, &start, 1, DateTimeRule::UTC_TIME);
1174 VTimeZone::write(UDate start, UnicodeString& result, UErrorCode& status) const {
1177 write(start, writer, status);
1273 UBool start = false;
1281 if (start && line.startsWith(ICAL_END_VTIMEZONE, -1)) {
1298 if (start) {
1317 if (start) {
1335 start = true;
1385 UDate firstStart = MAX_MILLIS; // the earliest rule start time
1516 UDate start = 0;
1540 // start time
1541 start = parseDateTimeString(dtstart, fromOffset, status);
1550 createRuleByRRULE(zonename, rawOffset, dstSavings, start, &dates, fromOffset, status), status);
1553 createRuleByRDATE(zonename, rawOffset, dstSavings, start, &dates, fromOffset, status), status);
1641 UDate finalStart, start;
1643 start = finalStart;
1651 if (lastStart > start) {
1656 start);
1662 if (start == finalStart) {
1676 Grego::timeToFields(start, y, m, d, dow, doy, mid);
1752 VTimeZone::write(UDate start, VTZWriter& writer, UErrorCode& status) const {
1761 // Extract rules applicable to dates after the start time
1762 getTimeZoneRulesAfter(start, initial, transitionRules, status);
1797 appendMillis(start, *icutzprop);
2189 * Write a single start time
2216 * Write start times defined by a DOM rule using VTIMEZONE RRULE
2250 * Write start times defined by a DOW rule using VTIMEZONE RRULE
2286 * Write start times defined by a DOW_GEQ_DOM rule using VTIMEZONE RRULE
2322 // The start day is in previous month
2410 * Write start times defined by a DOW_LEQ_DOM rule using VTIMEZONE RRULE
2460 // If the rule's mills in a day is out of range, adjust start time.