Search Results
The IntlCalendar class Table of Contents ¶ IntlCalendar::add — Add a (signed) amount of time to a field IntlCalendar::after — Whether this objectʼs time is after that of the passed object IntlCalendar::before — Whether this objectʼs time is before that of the passed object IntlCalendar::clear — Clear a field or all fields IntlCalendar::__construct — Private constructor for ...
Predefined Constants 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. Not all calendars have more than one era. IntlCalendar::FIELD_YEAR Calendar field for the year. This is not unique across eras. If the calendar type has more than one era ...
Output of IntlCalendar::getSkippedWallTimeOption indicating that wall times in the skipped range should refer to the same instant as wall times with one hour after and of IntlCalendar::getRepeatedWallTimeOption indicating the wall times in the repeated range should refer to the instant of the second occurrence of such wall time.
PHP Manual Calendar field for the month. The month sequence is zero-based, so Janurary (here used to signify the first month of the calendar; this may be called another name, such as Muharram in the Islamic calendar) is represented by 0, February by 1, …, December by 11 and, for calendars that have it, the 13th or leap month by 12.
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.
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.
The IntlCalendar class Introduction (PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1) Class synopsis
