| Total Complexity | 6 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class DateConverterTestDouble extends DateConverter |
||
| 8 | { |
||
| 9 | // Expose protected methods for testing |
||
| 10 | public function isInRangeEng($yy, $mm, $dd) |
||
| 11 | { |
||
| 12 | return $this->is_in_range_eng($yy, $mm, $dd); |
||
| 13 | } |
||
| 14 | |||
| 15 | public function isInRangeNep($yy, $mm, $dd) |
||
| 16 | { |
||
| 17 | return $this->is_in_range_nep($yy, $mm, $dd); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function isLeapYear($year) |
||
| 21 | { |
||
| 22 | return $this->is_leap_year($year); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getTotalEnglishDays($year, $month, $day) |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getTotalNepaliDays($year, $month, $day) |
||
| 31 | { |
||
| 32 | return $this->calculateTotalNepaliDays($year, $month, $day); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getCalendarData() |
||
| 38 | } |
||
| 39 | } |
||
| 40 |