MCPcopy Index your code
hub / github.com/pydata/xarray / Hour

Class Hour

xarray/coding/cftime_offsets.py:627–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625
626
627class Hour(Tick):
628 _freq = "h"
629
630 def as_timedelta(self) -> timedelta:
631 return timedelta(hours=self.n)
632
633 def __apply__(self, other):
634 return other + self.as_timedelta()
635
636
637class Minute(Tick):

Callers 3

delta_to_tickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…