|
|
|
|
|
|
|
|
isleap(self)
check if year is leap year algortim is based on
http://en.wikipedia.org/wiki/Leap_year |
source code
|
|
|
|
togregorian(self)
Convert current jalali date to gregorian and return datetime.date |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
replace(self,
year=0,
month=0,
day=0)
Return date with new specified fields. |
source code
|
|
|
|
|
|
|
|
|
|
isoweekday(self)
Return the day of the week as an integer, where Shanbeh is 1 and
Jomeh is 7 |
source code
|
|
|
|
|
|
|
isocalendar(self)
Return a 3-tuple, (ISO year, ISO week number, ISO weekday). |
source code
|
|
|
|
isoformat(self)
Return a string representing the date in ISO 8601 format,
'YYYY-MM-DD' |
source code
|
|
|
|
strftime(self,
format)
format -> strftime() style string. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|
|
|
j_months = ['Farvardin', 'Ordibehesht', 'Khordad', 'Tir', 'Mor...
|
|
|
j_months_short = ['Far', 'Ord', 'Kho', 'Tir', 'Mor', 'Sha', 'M...
|
|
|
j_weekdays = ['Shanbeh', 'Yekshanbeh', 'Doshanbeh', 'SehShanbe...
|
|
|
j_weekdays_short = ['Sha', 'Yek', 'Dos', 'Seh', 'Cha', 'Pan', ...
|
|
|
__year = 0
|
|
|
__month = 0
|
|
|
__day = 0
|
|
|
resolution = datetime.timedelta(1)
The earliest representable date, date(MINYEAR, 1, 1)
|