Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ onOffset
Method
onOffset
xarray/coding/cftime_offsets.py:623–624 ·
view source on GitHub ↗
(self, date)
Source
from the content-addressed store, hash-verified
621
return
other + timedelta(days=self.n)
622
623
def
onOffset(self, date) -> bool:
624
return
True
625
626
627
class
Hour(Tick):
Callers
6
rollforward
Method · 0.45
rollback
Method · 0.45
rollforward
Method · 0.45
rollback
Method · 0.45
test_onOffset
Function · 0.45
test_onOffset_month_or_quarter_or_year_end
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_onOffset
Function · 0.36
test_onOffset_month_or_quarter_or_year_end
Function · 0.36