Lines Matching refs:FixedOffset
115 class FixedOffset(tzinfo): class
134 class PicklableFixedOffset(FixedOffset):
137 FixedOffset.__init__(self, offset, name, dstoffset)
179 fo = FixedOffset(3, "Three")
2035 tz = FixedOffset(timedelta(seconds=16), 'XXX')
2134 class MyTzInfo(FixedOffset):
2753 f = FixedOffset(44, "0044")
3641 est = FixedOffset(-300, "EST", 1)
3642 utc = FixedOffset(0, "UTC", -2)
3643 met = FixedOffset(60, "MET", 3)
3709 yuck = FixedOffset(-1439, "%z %Z %%z%%Z")
3729 t1 = self.theclass(0, 1, 2, 3, tzinfo=FixedOffset(1439, ""))
3730 t2 = self.theclass(0, 0, 2, 3, tzinfo=FixedOffset(1438, ""))
3733 t1 = self.theclass(23, 58, 6, 100, tzinfo=FixedOffset(-1000, ""))
3734 t2 = self.theclass(23, 48, 6, 100, tzinfo=FixedOffset(-1010, ""))
3797 t = cls(0, tzinfo=FixedOffset(-300, ""))
3800 t = cls(5, tzinfo=FixedOffset(-300, ""))
3803 t = cls(5, tzinfo=FixedOffset(300, ""))
3806 t = cls(23, 59, tzinfo=FixedOffset(23*60 + 59, ""))
3811 z100 = FixedOffset(100, "+100")
3812 zm200 = FixedOffset(timedelta(minutes=-200), "-200")
3854 t2 = t2.replace(tzinfo=FixedOffset(None, ""))
3856 t2 = t2.replace(tzinfo=FixedOffset(0, ""))
4021 args = 4, 5, 6, 500, FixedOffset(-300, "EST", 1)
4054 t1 = self.theclass(1, 1, 1, tzinfo=FixedOffset(1439, ""))
4057 tzinfo=FixedOffset(-1439, ""))
4068 t1 = self.theclass(1, 12, 31, 23, 59, tzinfo=FixedOffset(1, ""))
4069 t2 = self.theclass(2, 1, 1, 3, 13, tzinfo=FixedOffset(3*60+13+2, ""))
4073 t1 = self.theclass(1, 12, 31, 23, 59, tzinfo=FixedOffset(0, ""))
4077 t1 = self.theclass(1, 12, 31, 23, 59, tzinfo=FixedOffset(2, ""))
4081 t1 = self.theclass(1, 12, 31, 23, 59, tzinfo=FixedOffset(1, ""),
4086 t1 = self.theclass(1, 12, 31, 23, 59, tzinfo=FixedOffset(1, ""),
4115 t2 = self.theclass(2, 2, 2, tzinfo=FixedOffset(0, ""))
4131 derived = self.theclass(1, 1, 1, tzinfo=FixedOffset(0, "", 0))
4182 t = self.theclass(1, 1, 1, tzinfo=FixedOffset(1439, ""))
4185 tzinfo=FixedOffset(-1439, ""))
4189 t = self.theclass(5, 5, 5, tzinfo=FixedOffset(-1440, ""))
4193 est = FixedOffset(-300, "EST")
4194 utc = FixedOffset(0, "UTC")
4195 met = FixedOffset(60, "MET")
4223 met = FixedOffset(60, "MET")
4231 met = FixedOffset(60, "MET")
4239 tz55 = FixedOffset(-330, "west 5:30")
4275 tzr = FixedOffset(random.randrange(-1439, 1440), "randomtimezone")
4290 min = self.theclass(1, 1, 1, tzinfo=FixedOffset(1439, "min"))
4292 tzinfo=FixedOffset(-1439, "max"))
4307 off42 = FixedOffset(42, "42")
4323 utc = FixedOffset(0, "utc", 0)
4324 for weirdtz in [FixedOffset(timedelta(hours=15, minutes=58), "weirdtz", 0),
4346 off42 = FixedOffset(42, "42")
4369 tz = FixedOffset(utcoffset, "tz", 0)
4380 off42 = FixedOffset(42, "42")
4392 off42 = FixedOffset(42, "42")
4513 zero = FixedOffset(0, "+00:00")
4514 plus = FixedOffset(220, "+03:40")
4515 minus = FixedOffset(-231, "-03:51")
4516 unknown = FixedOffset(None, "")
4535 z100 = FixedOffset(100, "+100")
4536 zm200 = FixedOffset(timedelta(minutes=-200), "-200")
4574 fnone = FixedOffset(None, "None")
4575 f44m = FixedOffset(44, "44")
4576 fm5h = FixedOffset(-timedelta(hours=5), "m300")
4678 t2 = t2.replace(tzinfo=FixedOffset(None, ""))
4680 t2 = t2.replace(tzinfo=FixedOffset(0, ""))
4717 args = 2002, 12, 31, 4, 5, 6, 500, FixedOffset(-300, "EST", 1)
4794 utc_real = FixedOffset(0, "UTC", 0)
4797 utc_fake = FixedOffset(-12*60, "UTCfake", 0)
4919 ninewest = FixedOffset(-9*60, "-0900", 0)