MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / getThursdayThisWeek

Function getThursdayThisWeek

lib/test/angular/1.7.0/angular.js:22083–22087  ·  view source on GitHub ↗
(datetime)

Source from the content-addressed store, hash-verified

22081}
22082
22083function getThursdayThisWeek(datetime) {
22084 return new Date(datetime.getFullYear(), datetime.getMonth(),
22085 // 4 = index of Thursday
22086 datetime.getDate() + (4 - datetime.getDay()));
22087}
22088
22089function weekGetter(size) {
22090 return function(date) {

Callers 1

weekGetterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected