| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
pdtContext
Context contains accuracy flag detected by L{Calendar.parse()}
Accuracy flag uses bitwise-OR operation and is combined by:
ACU_YEAR - "next year", "2014"
ACU_MONTH - "March", "July 2014"
ACU_WEEK - "last week", "next 3 weeks"
ACU_DAY - "tomorrow", "July 4th 2014"
ACU_HALFDAY - "morning", "tonight"
ACU_HOUR - "18:00", "next hour"
ACU_MIN - "18:32", "next 10 minutes"
ACU_SEC - "18:32:55"
ACU_NOW - "now"
|
|||
| object |
|
||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
ACU_YEAR = 1
|
|||
ACU_MONTH = 2
|
|||
ACU_WEEK = 4
|
|||
ACU_DAY = 8
|
|||
ACU_HALFDAY = 16
|
|||
ACU_HOUR = 32
|
|||
ACU_MIN = 64
|
|||
ACU_SEC = 128
|
|||
ACU_NOW = 256
|
|||
ACU_DATE = 15
|
|||
ACU_TIME = 496
|
|||
_ACCURACY_MAPPING =
|
|||
_ACCURACY_REVERSE_MAPPING =
|
|||
|
|||
|
hasDate Returns True if current context is accurate to date |
|||
|
hasTime Returns True if current context is accurate to time |
|||
|
dateTimeFlag Returns the old date/time flag code |
|||
|
hasDateOrTime Returns True if current context is accurate to date/time |
|||
| accuracy | |||
|
Inherited from |
|||
|
|||
Default constructor of pdtContext class.
|
repr(x)
|
|
|||
_ACCURACY_MAPPING
|
_ACCURACY_REVERSE_MAPPING
|
|
|||
hasDateReturns True if current context is accurate to date
|
hasTimeReturns True if current context is accurate to time
|
dateTimeFlagReturns the old date/time flag code
|
hasDateOrTimeReturns True if current context is accurate to date/time
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 8 08:16:37 2018 | http://epydoc.sourceforge.net |