Lines Matching refs:fromutc
237 t = tz.fromutc(u)
330 timezone.utc.fromutc(self.DT)
332 timezone.utc.fromutc('not datetime')
335 local = tz.fromutc(utctime)
4994 self.assertRaises(TypeError, Eastern.fromutc) # not enough args
4996 self.assertRaises(ValueError, Eastern.fromutc, now) # wrong tzinfo
4998 enow = Eastern.fromutc(now) # doesn't blow up
5000 self.assertRaises(TypeError, Eastern.fromutc, now, now) # too many args
5001 self.assertRaises(TypeError, Eastern.fromutc, date.today()) # wrong type
5005 def fromutc(self, dt): member in TestTimezoneConversions.test_fromutc.FauxUSTimeZone
5020 got = Eastern.fromutc(start)
5024 got = FEastern.fromutc(fstart)
5039 got = Eastern.fromutc(start)
5043 got = FEastern.fromutc(fstart)
5158 def fromutc(self, dt): member in tzinfo2
5294 def fromutc(self, dt): member in Europe_Vilnius_1941
5526 t_summer = Eastern2.fromutc(u_summer)
5527 t_winter = Eastern2.fromutc(u_winter)
5535 t0 = Eastern2.fromutc(u)
5537 t1 = Eastern2.fromutc(u)
5543 t = Eastern2.fromutc(u)
5547 t = Eastern2.fromutc(u)
5552 t = Eastern2.fromutc(u)
5660 def fromutc(self, dt): member in ZoneInfo
5840 ldt = tz.fromutc(udt.replace(tzinfo=tz))
5854 ldt = tz.fromutc(udt)
5863 ldt = tz.fromutc(udt)
5870 ldt = tz.fromutc(dt.replace(tzinfo=tz)) - shift + x
5877 ldt = tz.fromutc(udt.replace(tzinfo=tz))