Home
last modified time | relevance | path

Searched refs:rrule (Results 1 – 16 of 16) sorted by relevance

/external/python/dateutil/dateutil/test/
Dtest_rrule.py10 from dateutil.rrule import (
11 rrule, rruleset, rrulestr,
22 @pytest.mark.rrule
38 self.assertEqual(str(rrule(YEARLY,
50 self.assertEqual(list(rrule(YEARLY,
58 self.assertEqual(list(rrule(YEARLY,
67 self.assertEqual(list(rrule(YEARLY,
76 self.assertEqual(list(rrule(YEARLY,
85 self.assertEqual(list(rrule(YEARLY,
94 self.assertEqual(list(rrule(YEARLY,
[all …]
Dtest_imports.py72 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
Dtest_import_star.py20 import dateutil.rrule
28 assert dateutil.rrule == new_locals.pop("rrule")
/external/python/dateutil/docs/
Drrule.rst2 rrule title
5 .. automodule:: dateutil.rrule
11 .. autoclass:: rrule
20 rrule examples
26 .. testsetup:: rrule
28 from dateutil.rrule import *
35 .. doctest:: rrule
37 >>> from dateutil.rrule import *
47 .. doctest:: rrule
50 >>> list(rrule(DAILY, count=10,
[all …]
Dexamples.rst211 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 …]
Dindex.rst27 rrule
/external/python/dateutil/docs/exercises/solutions/
Dmlk_day_rrule_solution.py2 from dateutil import rrule
5 MLK_DAY = rrule.rrule(
7 freq=rrule.YEARLY, # Occurs once per year
9 byweekday=rrule.MO(+3), # On the 3rd Monday
/external/python/dateutil/dateutil/
Drrule.py304 class rrule(rrulebase): class
433 super(rrule, self).__init__(cache)
773 return rrule(**new_kwargs)
1117 def __init__(self, rrule): argument
1120 self.rrule = rrule
1124 rr = self.rrule
1273 if self.wdaymask[i] == self.rrule._wkst:
1285 rr = self.rrule
1295 rr = self.rrule
1303 tzinfo=self.rrule._tzinfo),)
[all …]
/external/python/dateutil/
DNEWS13 - Added support for ``EXDATE`` parameters when parsing ``rrule`` strings.
31 - Added time zone inference when initializing an ``rrule`` with a specified
73 - Added documentation for the ``rrule.rrulestr`` function.
81 - Changed order of keywords in the ``rrule`` docstring.
84 ``rrule``. Fixed by @lucaferocino (gh pr #755).
173 - Changed order of keywords in rrule docstring. Reported and fixed by
222 - Improve error message when rrule's dtstart and until are not both naive or
330 - Added 'RRULE:' prefix to rrule strings generated by rrule.__str__, in
447 - Refactored relativedelta.weekday and rrule.weekday into a common base class
449 - An issue where the WKST parameter was improperly rendering in str(rrule) was
[all …]
DREADME.rst102 >>> from dateutil.rrule import *
107 >>> year = rrule(YEARLY,dtstart=now,bymonth=8,bymonthday=13,byweekday=FR)[0].year
/external/python/dateutil/dateutil/tz/
Dtz.py1152 tzname=None, rrule=None): argument
1158 self.rrule = rrule
1220 compdt = comp.rrule.before(dt, inc=True)
1259 global rrule
1260 from dateutil import rrule
1391 rr = rrule.rrulestr("\n".join(rrulelines),
/external/python/dateutil/docs/exercises/
Dindex.rst22 …How would you generate a `recurrence rule <../rrule.html>`_ that generates Martin Luther King Day,…
36 from dateutil import rrule
71 A solution to this problem is provided :doc:`here <solutions/mlk-day-rrule>`.
/external/icu/icu4c/source/i18n/
Dvtzone.cpp374 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, in parseRRULE() argument
395 prop_end = rrule.indexOf(SEMICOLON, prop_start); in parseRRULE()
397 prop.setTo(rrule, prop_start); in parseRRULE()
400 prop.setTo(rrule, prop_start, prop_end - prop_start); in parseRRULE()
532 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); in createRuleByRRULE() local
538 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); in createRuleByRRULE()
608 rrule = *((UnicodeString*)dates->elementAt(i)); in createRuleByRRULE()
613 …parseRRULE(rrule, tmp_month, tmp_dayOfWeek, tmp_nthDayOfWeek, tmp_days, tmp_daysCount, tmp_until, … in createRuleByRRULE()
/external/cronet/third_party/icu/source/i18n/
Dvtzone.cpp374 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, in parseRRULE() argument
395 prop_end = rrule.indexOf(SEMICOLON, prop_start); in parseRRULE()
397 prop.setTo(rrule, prop_start); in parseRRULE()
400 prop.setTo(rrule, prop_start, prop_end - prop_start); in parseRRULE()
532 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); in createRuleByRRULE() local
538 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); in createRuleByRRULE()
608 rrule = *((UnicodeString*)dates->elementAt(i)); in createRuleByRRULE()
613 …parseRRULE(rrule, tmp_month, tmp_dayOfWeek, tmp_nthDayOfWeek, tmp_days, tmp_daysCount, tmp_until, … in createRuleByRRULE()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVTimeZone.java835 String rrule = dates.get(0); in createRuleByRRULE() local
838 int[] ruleFields = parseRRULE(rrule, until); in createRuleByRRULE()
914 rrule = dates.get(i); in createRuleByRRULE()
916 int[] fields = parseRRULE(rrule, unt); in createRuleByRRULE()
1034 private static int[] parseRRULE(String rrule, long[] until) {
1043 StringTokenizer st= new StringTokenizer(rrule, SEMICOLON);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java867 String rrule = dates.get(0); in createRuleByRRULE() local
870 int[] ruleFields = parseRRULE(rrule, until); in createRuleByRRULE()
946 rrule = dates.get(i); in createRuleByRRULE()
948 int[] fields = parseRRULE(rrule, unt); in createRuleByRRULE()
1066 private static int[] parseRRULE(String rrule, long[] until) {
1075 StringTokenizer st= new StringTokenizer(rrule, SEMICOLON);