IntlCalendar::setSkippedWallTimeOption

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Set behavior for handling skipped wall times at positive timezone offset transitions public bool IntlCalendar::setSkippedWallTimeOption ( int $wallTimeOption ) Object oriented style Procedural style bool intlcal_set_skipped_wall_time_option ( IntlCalendar $cal , int $wallTimeOption ) Sets the current strategy for dealing with wall times that are skipped whenever the clock is forwar

IntlCalendar::setMinimalDaysInFirstWeek

(No version information available, might only be in Git) Set minimal number of days the first week in a year or month can have public bool IntlCalendar::setMinimalDaysInFirstWeek ( int $minimalDays ) Object oriented style Procedural style bool intlcal_get_minimal_days_in_first_week ( IntlCalendar $cal , int $minimalDays ) Sets the smallest number of days the first week of a year or month must have in the new year or mon

IntlCalendar::setFirstDayOfWeek

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Set the day on which the week is deemed to start public bool IntlCalendar::setFirstDayOfWeek ( int $dayOfWeek ) Object oriented style Procedural style bool intlcal_set_first_day_of_week ( IntlCalendar $cal , int $dayOfWeek ) Defines the day of week deemed to start the week. This affects the behavior of fields that depend on the concept of week start and end such as IntlCalendar::FI

IntlCalendar::setLenient

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Set whether date/time interpretation is to be lenient public ReturnType IntlCalendar::setLenient ( string $isLenient ) Object oriented style Procedural style ReturnType intlcal_set_lenient ( IntlCalendar $cal , string $isLenient ) Defines whether the calendar is ‘lenient mode’. In such a mode, some of out-of-bounds values for some fields are accepted, the behavior being similar to

IntlCalendar::set

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Set a time field or several common fields at once public bool IntlCalendar::set ( int $field, int $value ) Object oriented style public bool IntlCalendar::set ( int $year , int $month [, int $dayOfMonth = NULL [, int $hour = NULL [, int $minute = NULL [, int $second = NULL ]]]] ) Procedural style bool intlcal_set ( IntlCalendar $cal , int $field , int $value ) bool intlcal_set ( I

IntlCalendar::isSet

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Whether a field is set public bool IntlCalendar::isSet ( int $field ) Object oriented style Procedural style bool intlcal_is_set ( IntlCalendar $cal , int $field ) Returns whether a field is set (as opposed to clear). Set fields take priority over unset fields and their default values when the date/time is being calculated. Fields set later take priority over fields set earlier.

IntlCalendar::roll

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Add value to field without carrying into more significant fields public bool IntlCalendar::roll ( int $field, mixed $amountOrUpOrDown ) Object oriented style Procedural style bool intlcal_roll ( IntlCalendar $cal , int $field , mixed $amountOrUpOrDown ) Adds a (signed) amount to a field. The difference with respect to IntlCalendar::add() is that when the field value overflows, it d

IntlCalendar::isEquivalentTo

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Whether another calendar is equal but for a different time public bool IntlCalendar::isEquivalentTo ( IntlCalendar $other ) Object oriented style Procedural style bool intlcal_is_equivalent_to ( IntlCalendar $cal , IntlCalendar $other ) Returns whether this and the given object are equivalent for all purposes except as to the time they have set. The locales do not have to match, as

IntlCalendar::isWeekend

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Whether a certain date/time is in the weekend public bool IntlCalendar::isWeekend ([ float $date = NULL ] ) Object oriented style Procedural style bool intlcal_is_weekend ( IntlCalendar $cal [, float $date = NULL ] ) Returns whether either the obejctʼs current time or the provided timestamp occur during a weekend in this objectʼs calendar system. This function requires ICU 4.4 o

IntlCalendar::isLenient

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Whether date/time interpretation is in lenient mode public bool IntlCalendar::isLenient ( void ) Object oriented style Procedural style bool intlcal_is_lenient ( IntlCalendar $cal ) Returns whether the current date/time interpretations is lenient (the default). If that is case, some out of range values for fields will be accepted instead of raising an error. Parame