Beispiel #1
0
 def f(self):
     values = self.asi8
     if self.tz is not None:
         utc = _utc()
         if self.tz is not utc:
             values = lib.tz_convert(values, utc, self.tz)
     return lib.fast_field_accessor(values, field)
Beispiel #2
0
 def f(self):
     return lib.fast_field_accessor(self.asi8, field)
Beispiel #3
0
 def dayofyear(self):
     return lib.fast_field_accessor(self.asi8, "doy")
Beispiel #4
0
 def quarter(self):
     return lib.fast_field_accessor(self.asi8, "q")
Beispiel #5
0
 def weekofyear(self):
     return lib.fast_field_accessor(self.asi8, "woy")
Beispiel #6
0
 def dayofweek(self):
     return lib.fast_field_accessor(self.asi8, "dow")
Beispiel #7
0
 def second(self):
     return lib.fast_field_accessor(self.asi8, "s")
Beispiel #8
0
 def microsecond(self):
     return lib.fast_field_accessor(self.asi8, "us")
Beispiel #9
0
 def minute(self):
     return lib.fast_field_accessor(self.asi8, "m")
Beispiel #10
0
 def hour(self):
     return lib.fast_field_accessor(self.asi8, "h")
Beispiel #11
0
 def day(self):
     return lib.fast_field_accessor(self.asi8, "D")
Beispiel #12
0
 def month(self):
     return lib.fast_field_accessor(self.asi8, "M")
Beispiel #13
0
 def year(self):
     return lib.fast_field_accessor(self.asi8, "Y")