Base class for time specifications.
def google.appengine.cron.groctimespecification.TimeSpecification.GetMatch |
( |
|
self, |
|
|
|
start |
|
) |
| |
Returns the next match after time start.
Must be implemented in subclasses.
Arguments:
start: a datetime to start from. Matches will start from after this time.
This may be in any pytz time zone, or it may be timezone-naive
(interpreted as UTC).
Returns:
a datetime object in the timezone of the input 'start'
def google.appengine.cron.groctimespecification.TimeSpecification.GetMatches |
( |
|
self, |
|
|
|
start, |
|
|
|
n |
|
) |
| |
Returns the next n times that match the schedule, starting at time start.
Arguments:
start: a datetime to start from. Matches will start from after this time.
n: the number of matching times to return
Returns:
a list of n datetime objects
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/cron/groctimespecification.py