You are here

function cmfcCalendarV1Thai::toGregorian in Calendar Systems 7.2

Same name and namespace in other branches
  1. 8 calendar/v1/calendarSystems/thai.class.inc.php \cmfcCalendarV1Thai::toGregorian()
  2. 8.2 calendar/v1/calendarSystems/thai.class.inc.php \cmfcCalendarV1Thai::toGregorian()
  3. 7 calendar/v1/calendarSystems/thai.class.inc.php \cmfcCalendarV1Thai::toGregorian()

Overrides cmfcCalendarV1Plugin::toGregorian

1 call to cmfcCalendarV1Thai::toGregorian()
cmfcCalendarV1Thai::makeTime in calendar/v1/calendarSystems/thai.class.inc.php

File

calendar/v1/calendarSystems/thai.class.inc.php, line 162

Class

cmfcCalendarV1Thai

Code

function toGregorian($year, $month, $day) {
  return array(
    (int) $year - 543,
    $month,
    $day,
  );
}