Lines Matching defs:datetime
7 from datetime import datetime, timedelta, tzinfo
11 EPOCH = datetime(1970, 1, 1)
12 EPOCHORDINAL = datetime(1970, 1, 1).toordinal()
115 """Convert from datetime in UTC to datetime in local time"""
117 if not isinstance(dt, datetime):
118 raise TypeError("fromutc() requires a datetime argument")
274 # specific datetime passed.
289 # zones should almost certainly not be used with datetime.time (the
590 """Calculates the datetime of the occurrence from the year"""