Search Results
Gets the global minimum for a field, in this specific calendar. This value is smaller or equal to that returned by IntlCalendar::getActualMinimum (), which is in its turn smaller or equal to that returned by IntlCalendar::getGreatestMinimum (). For the Gregorian calendar, these three functions always return the same value (for each field).
Simple usage example of `IntlCalendar::getMinimum ()`. The IntlCalendar::getMinimum function is a PHP function that is used to retrieve the global minimum value for a specific field in an International Calendar object. The function provides an easy way to obtain the smallest possible value that can be set for a particular field, such as the minimum month, day, or year depending on the calendar ...
Gets the global minimum for a field, in this specific calendar. This value is smaller or equal to that returned by IntlCalendar::getActualMinimum (), which is in its turn smaller or equal to that returned by IntlCalendar::getGreatestMinimum (). For the Gregorian calendar, these three functions always return the same value (for each field).
IntlCalendar::FIELD_ERA Calendar field numerically representing an era, for instance 1 for AD and 0 for BC in the Gregorian/Julian calendars and 235 for the Heisei (平成) era in the Japanese calendar.
Gets the global minimum for a field, in this specific calendar. This value is smaller or equal to that returned by IntlCalendar::getActualMinimum, which is in its turn smaller or equal to that returned by IntlCalendar::getGreatestMinimum. For the Gregorian calendar, these three functions always return the same value (for each field).
Additionally, the value 0 and negative values are also allowed. The value 0 encompasses the seven days that occur immediately before the first seven days of a month (which therefore have a ‘day of week in month’ with value 1). Negative values starts counting from the end of the month – -1 points to the last occurrence of a day of the week in a month, -2 to the second last, and so on.
The IntlCalendar class Introduction (PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1) Class synopsis
