MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / getSetISOWeek

Function getSetISOWeek

tests/test_code/js/moment/moment.js:1434–1437  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

1432 }
1433
1434 function getSetISOWeek(input) {
1435 var week = weekOfYear(this, 1, 4).week;
1436 return input == null ? week : this.add((input - week) * 7, 'd');
1437 }
1438
1439 // FORMATTING
1440

Callers

nothing calls this directly

Calls 2

weekOfYearFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected