Exemplo n.º 1
0
 def _mpl_repr(self):
     # how to represent ourselves to matplotlib
     return ints_to_pydatetime(self.asi8, self.tz)
Exemplo n.º 2
0
 def time_ints_to_pydatetime(self, box, size, tz):
     ints_to_pydatetime(self.i8data, tz, box=box)
Exemplo n.º 3
0
 def time_ints_to_pydatetime(self, box, size, tz):
     if box == "date":
         # ints_to_pydatetime does not allow non-None tz with date;
         #  this will mean doing some duplicate benchmarks
         tz = None
     ints_to_pydatetime(self.i8data, tz, box=box)