/external/python/dateutil/dateutil/test/ |
D | test_rrule.py | 10 from dateutil.rrule import ( 11 rrule, rruleset, rrulestr, 33 self.assertEqual(str(rrule(YEARLY, 45 self.assertEqual(list(rrule(YEARLY, 53 self.assertEqual(list(rrule(YEARLY, 62 self.assertEqual(list(rrule(YEARLY, 71 self.assertEqual(list(rrule(YEARLY, 80 self.assertEqual(list(rrule(YEARLY, 89 self.assertEqual(list(rrule(YEARLY, 99 self.assertEqual(list(rrule(YEARLY, [all …]
|
D | test_imports.py | 72 import dateutil.rrule 75 from dateutil import rrule 78 from dateutil.rrule import rrule 79 from dateutil.rrule import rruleset 80 from dateutil.rrule import rrulestr 81 from dateutil.rrule import YEARLY, MONTHLY, WEEKLY, DAILY 82 from dateutil.rrule import HOURLY, MINUTELY, SECONDLY 83 from dateutil.rrule import MO, TU, WE, TH, FR, SA, SU 85 rr_all = (rrule, rruleset, rrulestr, 94 from dateutil.rrule import weekday
|
D | test_import_star.py | 20 import dateutil.rrule 28 self.assertEquals(dateutil.rrule, new_locals.pop("rrule"))
|
/external/python/dateutil/docs/ |
D | rrule.rst | 2 rrule title 5 .. automodule:: dateutil.rrule 9 rrule examples 15 .. testsetup:: rrule 17 from dateutil.rrule import * 24 .. doctest:: rrule 26 >>> from dateutil.rrule import * 36 .. doctest:: rrule 39 >>> list(rrule(DAILY, count=10, 54 .. doctest:: rrule [all …]
|
D | examples.rst | 211 rrule examples 217 .. testsetup:: rrule 219 from dateutil.rrule import * 226 .. doctest:: rrule 228 >>> from dateutil.rrule import * 238 .. doctest:: rrule 241 >>> list(rrule(DAILY, count=10, 256 .. doctest:: rrule 259 >>> list(rrule(DAILY, 272 .. doctest:: rrule [all …]
|
D | index.rst | 20 rrule
|
/external/python/dateutil/dateutil/ |
D | rrule.py | 304 class rrule(rrulebase): class 427 super(rrule, self).__init__(cache) 764 return rrule(**new_kwargs) 1108 def __init__(self, rrule): argument 1111 self.rrule = rrule 1115 rr = self.rrule 1264 if self.wdaymask[i] == self.rrule._wkst: 1276 rr = self.rrule 1286 rr = self.rrule 1294 tzinfo=self.rrule._tzinfo),) [all …]
|
/external/python/dateutil/ |
D | NEWS | 32 - Improve error message when rrule's dtstart and until are not both naive or 140 - Added 'RRULE:' prefix to rrule strings generated by rrule.__str__, in 257 - Refactored relativedelta.weekday and rrule.weekday into a common base class 259 - An issue where the WKST parameter was improperly rendering in str(rrule) was 261 - A replace() method has been added to rrule objects by @jendas1, which creates 262 new rrule with modified attributes, analogous to datetime.replace (gh pr #167) 263 - Made some significant performance improvements to rrule objects in Python 2.x 323 RFC-5545-compliant rrules, and other documentation improvements in the rrule 349 - rrule now has an xafter() method for retrieving multiple recurrences after a 351 - str(rrule) now returns an RFC2445-compliant rrule string, contributed by [all …]
|
D | README.rst | 79 >>> from dateutil.rrule import * 84 >>> year = rrule(YEARLY,dtstart=now,bymonth=8,bymonthday=13,byweekday=FR)[0].year
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 1090 tzname=None, rrule=None): argument 1096 self.rrule = rrule 1158 compdt = comp.rrule.before(dt, inc=True) 1197 global rrule 1198 from dateutil import rrule 1329 rr = rrule.rrulestr("\n".join(rrulelines),
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | VTimeZone.java | 838 String rrule = dates.get(0); in createRuleByRRULE() local 841 int[] ruleFields = parseRRULE(rrule, until); in createRuleByRRULE() 917 rrule = dates.get(i); in createRuleByRRULE() 919 int[] fields = parseRRULE(rrule, unt); in createRuleByRRULE() 1037 private static int[] parseRRULE(String rrule, long[] until) { 1046 StringTokenizer st= new StringTokenizer(rrule, SEMICOLON);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VTimeZone.java | 869 String rrule = dates.get(0); in createRuleByRRULE() local 872 int[] ruleFields = parseRRULE(rrule, until); in createRuleByRRULE() 948 rrule = dates.get(i); in createRuleByRRULE() 950 int[] fields = parseRRULE(rrule, unt); in createRuleByRRULE() 1068 private static int[] parseRRULE(String rrule, long[] until) { 1077 StringTokenizer st= new StringTokenizer(rrule, SEMICOLON);
|
/external/icu/icu4c/source/i18n/ |
D | vtzone.cpp | 382 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, in parseRRULE() argument 403 prop_end = rrule.indexOf(SEMICOLON, prop_start); in parseRRULE() 405 prop.setTo(rrule, prop_start); in parseRRULE() 408 prop.setTo(rrule, prop_start, prop_end - prop_start); in parseRRULE() 540 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); in createRuleByRRULE() local 546 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); in createRuleByRRULE() 616 rrule = *((UnicodeString*)dates->elementAt(i)); in createRuleByRRULE() 621 …parseRRULE(rrule, tmp_month, tmp_dayOfWeek, tmp_nthDayOfWeek, tmp_days, tmp_daysCount, tmp_until, … in createRuleByRRULE()
|