(calendar, sunday)
| 53 | * bool sunday is for week ticks, shift it to a Sunday. |
| 54 | */ |
| 55 | function _dateTick0(calendar, sunday) { |
| 56 | if(isWorldCalendar(calendar)) { |
| 57 | return sunday ? |
| 58 | Registry.getComponentMethod('calendars', 'CANONICAL_SUNDAY')[calendar] : |
| 59 | Registry.getComponentMethod('calendars', 'CANONICAL_TICK')[calendar]; |
| 60 | } else { |
| 61 | return sunday ? '2000-01-02' : '2000-01-01'; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | /* |
| 66 | * dfltRange: for each calendar, give a valid default range |
no test coverage detected
searching dependent graphs…