Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/iamkun/dayjs
/ asYears
Method
asYears
src/plugin/duration/index.js:258–258 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
256
asMonths() {
return
this.as(
'months'
) }
257
years() {
return
this.get(
'years'
) }
258
asYears() {
return
this.as(
'years'
) }
259
}
260
261
const
manipulateDuration = (date, duration, k) =>
Callers
nothing calls this directly
Calls
1
as
Method · 0.95
Tested by
no test coverage detected