php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
equals (IntlCalendar $other) | |
fieldDifference (float $timestamp, int $field) | |
add (int $field, int $value) | |
after (IntlCalendar $other) | |
before (IntlCalendar $other) | |
clear (?int $field=null) | |
get (int $field) | |
getActualMaximum (int $field) | |
getActualMinimum (int $field) | |
getDayOfWeekType (int $dayOfWeek) | |
getErrorCode () | |
getErrorMessage () | |
getFirstDayOfWeek () | |
getGreatestMinimum (int $field) | |
getLeastMaximum (int $field) | |
getLocale (int $type) | |
getMaximum (int $field) | |
getMinimalDaysInFirstWeek () | |
setMinimalDaysInFirstWeek (int $days) | |
getMinimum (int $field) | |
getRepeatedWallTimeOption () | |
getSkippedWallTimeOption () | |
getTime () | |
getTimeZone () | |
getType () | |
getWeekendTransition (int $dayOfWeek) | |
inDaylightTime () | |
isEquivalentTo (IntlCalendar $other) | |
isLenient () | |
isWeekend (?float $timestamp=null) | |
roll (int $field, $value) | |
isSet (int $field) | |
set (int $year, int $month, int $dayOfMonth=UNKNOWN, int $hour=UNKNOWN, int $minute=UNKNOWN, int $second=UNKNOWN) | |
setDate (int $year, int $month, int $dayOfMonth) | |
setDateTime (int $year, int $month, int $dayOfMonth, int $hour, int $minute, ?int $second=null) | |
setFirstDayOfWeek (int $dayOfWeek) | |
setLenient (bool $lenient) | |
setRepeatedWallTimeOption (int $option) | |
setSkippedWallTimeOption (int $option) | |
setTime (float $timestamp) | |
setTimeZone ($timezone) | |
toDateTime () | |
Static Public Member Functions | |
static | createInstance ($timezone=null, ?string $locale=null) |
static | fromDateTime (DateTime|string $datetime, ?string $locale=null) |
static | getAvailableLocales () |
static | getKeywordValuesForLocale (string $keyword, string $locale, bool $onlyCommon) |
static | getNow () |
Data Fields | |
const int | FIELD_ERA = UNKNOWN |
const int | FIELD_YEAR = UNKNOWN |
const int | FIELD_MONTH = UNKNOWN |
const int | FIELD_WEEK_OF_YEAR = UNKNOWN |
const int | FIELD_WEEK_OF_MONTH = UNKNOWN |
const int | FIELD_DATE = UNKNOWN |
const int | FIELD_DAY_OF_YEAR = UNKNOWN |
const int | FIELD_DAY_OF_WEEK = UNKNOWN |
const int | FIELD_DAY_OF_WEEK_IN_MONTH = UNKNOWN |
const int | FIELD_AM_PM = UNKNOWN |
const int | FIELD_HOUR = UNKNOWN |
const int | FIELD_HOUR_OF_DAY = UNKNOWN |
const int | FIELD_MINUTE = UNKNOWN |
const int | FIELD_SECOND = UNKNOWN |
const int | FIELD_MILLISECOND = UNKNOWN |
const int | FIELD_ZONE_OFFSET = UNKNOWN |
const int | FIELD_DST_OFFSET = UNKNOWN |
const int | FIELD_YEAR_WOY = UNKNOWN |
const int | FIELD_DOW_LOCAL = UNKNOWN |
const int | FIELD_EXTENDED_YEAR = UNKNOWN |
const int | FIELD_JULIAN_DAY = UNKNOWN |
const int | FIELD_MILLISECONDS_IN_DAY = UNKNOWN |
const int | FIELD_IS_LEAP_MONTH = UNKNOWN |
const int | FIELD_FIELD_COUNT = UNKNOWN |
const int | FIELD_DAY_OF_MONTH = UNKNOWN |
const int | DOW_SUNDAY = UNKNOWN |
const int | DOW_MONDAY = UNKNOWN |
const int | DOW_TUESDAY = UNKNOWN |
const int | DOW_WEDNESDAY = UNKNOWN |
const int | DOW_THURSDAY = UNKNOWN |
const int | DOW_FRIDAY = UNKNOWN |
const int | DOW_SATURDAY = UNKNOWN |
const int | DOW_TYPE_WEEKDAY = UNKNOWN |
const int | DOW_TYPE_WEEKEND = UNKNOWN |
const int | DOW_TYPE_WEEKEND_OFFSET = UNKNOWN |
const int | DOW_TYPE_WEEKEND_CEASE = UNKNOWN |
const int | WALLTIME_FIRST = UNKNOWN |
const int | WALLTIME_LAST = UNKNOWN |
const int | WALLTIME_NEXT_VALID = UNKNOWN |
@generate-class-entries @not-serializable
Definition at line 6 of file calendar.stub.php.
IntlCalendar::add | ( | int | $field, |
int | $value ) |
@tentative-return-type @alias intlcal_add
Definition at line 115 of file calendar.stub.php.
IntlCalendar::after | ( | IntlCalendar | $other | ) |
@tentative-return-type @alias intlcal_after
Definition at line 121 of file calendar.stub.php.
IntlCalendar::before | ( | IntlCalendar | $other | ) |
@tentative-return-type @alias intlcal_before
Definition at line 127 of file calendar.stub.php.
IntlCalendar::clear | ( | ?int | $field = null | ) |
@tentative-return-type @alias intlcal_clear
Definition at line 133 of file calendar.stub.php.
|
static |
IntlTimeZone | DateTimeZone | string | null | $timezone | @tentative-return-type @alias intlcal_create_instance |
Definition at line 97 of file calendar.stub.php.
IntlCalendar::equals | ( | IntlCalendar | $other | ) |
@tentative-return-type @alias intlcal_equals
Definition at line 103 of file calendar.stub.php.
IntlCalendar::fieldDifference | ( | float | $timestamp, |
int | $field ) |
@tentative-return-type @alias intlcal_field_difference
Definition at line 109 of file calendar.stub.php.
|
static |
@tentative-return-type @alias intlcal_from_date_time
Definition at line 139 of file calendar.stub.php.
IntlCalendar::get | ( | int | $field | ) |
@tentative-return-type @alias intlcal_get
Definition at line 145 of file calendar.stub.php.
IntlCalendar::getActualMaximum | ( | int | $field | ) |
@tentative-return-type @alias intlcal_get_actual_maximum
Definition at line 151 of file calendar.stub.php.
IntlCalendar::getActualMinimum | ( | int | $field | ) |
@tentative-return-type @alias intlcal_get_actual_minimum
Definition at line 157 of file calendar.stub.php.
|
static |
Definition at line 164 of file calendar.stub.php.
IntlCalendar::getDayOfWeekType | ( | int | $dayOfWeek | ) |
@tentative-return-type @alias intlcal_get_day_of_week_type
Definition at line 170 of file calendar.stub.php.
IntlCalendar::getErrorCode | ( | ) |
@tentative-return-type @alias intlcal_get_error_code
Definition at line 176 of file calendar.stub.php.
IntlCalendar::getErrorMessage | ( | ) |
@tentative-return-type @alias intlcal_get_error_message
Definition at line 182 of file calendar.stub.php.
IntlCalendar::getFirstDayOfWeek | ( | ) |
@tentative-return-type @alias intlcal_get_first_day_of_week
Definition at line 188 of file calendar.stub.php.
IntlCalendar::getGreatestMinimum | ( | int | $field | ) |
@tentative-return-type @alias intlcal_get_greatest_minimum
Definition at line 194 of file calendar.stub.php.
|
static |
@tentative-return-type @alias intlcal_get_keyword_values_for_locale
Definition at line 200 of file calendar.stub.php.
IntlCalendar::getLeastMaximum | ( | int | $field | ) |
@tentative-return-type @alias intlcal_get_least_maximum
Definition at line 206 of file calendar.stub.php.
IntlCalendar::getLocale | ( | int | $type | ) |
@tentative-return-type @alias intlcal_get_locale
Definition at line 212 of file calendar.stub.php.
IntlCalendar::getMaximum | ( | int | $field | ) |
@tentative-return-type @alias intlcal_get_maximum
Definition at line 218 of file calendar.stub.php.
IntlCalendar::getMinimalDaysInFirstWeek | ( | ) |
@tentative-return-type @alias intlcal_get_minimal_days_in_first_week
Definition at line 224 of file calendar.stub.php.
IntlCalendar::getMinimum | ( | int | $field | ) |
@tentative-return-type @alias intlcal_get_minimum
Definition at line 236 of file calendar.stub.php.
|
static |
@tentative-return-type @alias intlcal_get_now
Definition at line 242 of file calendar.stub.php.
IntlCalendar::getRepeatedWallTimeOption | ( | ) |
@tentative-return-type @alias intlcal_get_repeated_wall_time_option
Definition at line 248 of file calendar.stub.php.
IntlCalendar::getSkippedWallTimeOption | ( | ) |
@tentative-return-type @alias intlcal_get_skipped_wall_time_option
Definition at line 254 of file calendar.stub.php.
IntlCalendar::getTime | ( | ) |
@tentative-return-type @alias intlcal_get_time
Definition at line 260 of file calendar.stub.php.
IntlCalendar::getTimeZone | ( | ) |
@tentative-return-type @alias intlcal_get_time_zone
Definition at line 266 of file calendar.stub.php.
IntlCalendar::getType | ( | ) |
@tentative-return-type @alias intlcal_get_type
Definition at line 272 of file calendar.stub.php.
IntlCalendar::getWeekendTransition | ( | int | $dayOfWeek | ) |
@tentative-return-type @alias intlcal_get_weekend_transition
Definition at line 278 of file calendar.stub.php.
IntlCalendar::inDaylightTime | ( | ) |
@tentative-return-type @alias intlcal_in_daylight_time
Definition at line 284 of file calendar.stub.php.
IntlCalendar::isEquivalentTo | ( | IntlCalendar | $other | ) |
@tentative-return-type @alias intlcal_is_equivalent_to
Definition at line 290 of file calendar.stub.php.
IntlCalendar::isLenient | ( | ) |
@tentative-return-type @alias intlcal_is_lenient
Definition at line 296 of file calendar.stub.php.
IntlCalendar::isSet | ( | int | $field | ) |
@tentative-return-type @alias intlcal_is_set
Definition at line 315 of file calendar.stub.php.
IntlCalendar::isWeekend | ( | ?float | $timestamp = null | ) |
@tentative-return-type @alias intlcal_is_weekend
Definition at line 302 of file calendar.stub.php.
IntlCalendar::roll | ( | int | $field, |
$value ) |
int | bool | $value | @alias intlcal_roll @tentative-return-type |
Definition at line 309 of file calendar.stub.php.
IntlCalendar::set | ( | int | $year, |
int | $month, | ||
int | $dayOfMonth = UNKNOWN, | ||
int | $hour = UNKNOWN, | ||
int | $minute = UNKNOWN, | ||
int | $second = UNKNOWN ) |
@tentative-return-type @implementation-alias intlcal_set
Definition at line 321 of file calendar.stub.php.
IntlCalendar::setDate | ( | int | $year, |
int | $month, | ||
int | $dayOfMonth ) |
Definition at line 323 of file calendar.stub.php.
IntlCalendar::setDateTime | ( | int | $year, |
int | $month, | ||
int | $dayOfMonth, | ||
int | $hour, | ||
int | $minute, | ||
?int | $second = null ) |
Definition at line 325 of file calendar.stub.php.
IntlCalendar::setFirstDayOfWeek | ( | int | $dayOfWeek | ) |
@tentative-return-type @alias intlcal_set_first_day_of_week
Definition at line 331 of file calendar.stub.php.
IntlCalendar::setLenient | ( | bool | $lenient | ) |
@tentative-return-type @alias intlcal_set_lenient
Definition at line 337 of file calendar.stub.php.
IntlCalendar::setMinimalDaysInFirstWeek | ( | int | $days | ) |
@tentative-return-type @alias intlcal_set_minimal_days_in_first_week
Definition at line 230 of file calendar.stub.php.
IntlCalendar::setRepeatedWallTimeOption | ( | int | $option | ) |
@tentative-return-type @alias intlcal_set_repeated_wall_time_option
Definition at line 343 of file calendar.stub.php.
IntlCalendar::setSkippedWallTimeOption | ( | int | $option | ) |
@tentative-return-type @alias intlcal_set_skipped_wall_time_option
Definition at line 349 of file calendar.stub.php.
IntlCalendar::setTime | ( | float | $timestamp | ) |
@tentative-return-type @alias intlcal_set_time
Definition at line 355 of file calendar.stub.php.
IntlCalendar::setTimeZone | ( | $timezone | ) |
IntlTimeZone | DateTimeZone | string | null | $timezone | @tentative-return-type @alias intlcal_set_time_zone |
Definition at line 362 of file calendar.stub.php.
IntlCalendar::toDateTime | ( | ) |
@tentative-return-type @alias intlcal_to_date_time
Definition at line 368 of file calendar.stub.php.
const int IntlCalendar::DOW_FRIDAY = UNKNOWN |
@cvalue UCAL_FRIDAY
Definition at line 70 of file calendar.stub.php.
const int IntlCalendar::DOW_MONDAY = UNKNOWN |
@cvalue UCAL_MONDAY
Definition at line 62 of file calendar.stub.php.
const int IntlCalendar::DOW_SATURDAY = UNKNOWN |
@cvalue UCAL_SATURDAY
Definition at line 72 of file calendar.stub.php.
const int IntlCalendar::DOW_SUNDAY = UNKNOWN |
@cvalue UCAL_SUNDAY
Definition at line 60 of file calendar.stub.php.
const int IntlCalendar::DOW_THURSDAY = UNKNOWN |
@cvalue UCAL_THURSDAY
Definition at line 68 of file calendar.stub.php.
const int IntlCalendar::DOW_TUESDAY = UNKNOWN |
@cvalue UCAL_TUESDAY
Definition at line 64 of file calendar.stub.php.
const int IntlCalendar::DOW_TYPE_WEEKDAY = UNKNOWN |
@cvalue UCAL_WEEKDAY
Definition at line 75 of file calendar.stub.php.
const int IntlCalendar::DOW_TYPE_WEEKEND = UNKNOWN |
@cvalue UCAL_WEEKEND
Definition at line 77 of file calendar.stub.php.
const int IntlCalendar::DOW_TYPE_WEEKEND_CEASE = UNKNOWN |
@cvalue UCAL_WEEKEND_CEASE
Definition at line 81 of file calendar.stub.php.
const int IntlCalendar::DOW_TYPE_WEEKEND_OFFSET = UNKNOWN |
@cvalue UCAL_WEEKEND_ONSET
Definition at line 79 of file calendar.stub.php.
const int IntlCalendar::DOW_WEDNESDAY = UNKNOWN |
@cvalue UCAL_WEDNESDAY
Definition at line 66 of file calendar.stub.php.
const int IntlCalendar::FIELD_AM_PM = UNKNOWN |
@cvalue UCAL_AM_PM
Definition at line 27 of file calendar.stub.php.
const int IntlCalendar::FIELD_DATE = UNKNOWN |
@cvalue UCAL_DATE
Definition at line 19 of file calendar.stub.php.
const int IntlCalendar::FIELD_DAY_OF_MONTH = UNKNOWN |
@cvalue UCAL_DAY_OF_MONTH
Definition at line 57 of file calendar.stub.php.
const int IntlCalendar::FIELD_DAY_OF_WEEK = UNKNOWN |
@cvalue UCAL_DAY_OF_WEEK
Definition at line 23 of file calendar.stub.php.
const int IntlCalendar::FIELD_DAY_OF_WEEK_IN_MONTH = UNKNOWN |
@cvalue UCAL_DAY_OF_WEEK_IN_MONTH
Definition at line 25 of file calendar.stub.php.
const int IntlCalendar::FIELD_DAY_OF_YEAR = UNKNOWN |
@cvalue UCAL_DAY_OF_YEAR
Definition at line 21 of file calendar.stub.php.
const int IntlCalendar::FIELD_DOW_LOCAL = UNKNOWN |
@cvalue UCAL_DOW_LOCAL
Definition at line 45 of file calendar.stub.php.
const int IntlCalendar::FIELD_DST_OFFSET = UNKNOWN |
@cvalue UCAL_DST_OFFSET
Definition at line 41 of file calendar.stub.php.
const int IntlCalendar::FIELD_ERA = UNKNOWN |
@cvalue UCAL_ERA
Definition at line 9 of file calendar.stub.php.
const int IntlCalendar::FIELD_EXTENDED_YEAR = UNKNOWN |
@cvalue UCAL_EXTENDED_YEAR
Definition at line 47 of file calendar.stub.php.
const int IntlCalendar::FIELD_FIELD_COUNT = UNKNOWN |
@cvalue UCAL_FIELD_COUNT
Definition at line 55 of file calendar.stub.php.
const int IntlCalendar::FIELD_HOUR = UNKNOWN |
@cvalue UCAL_HOUR
Definition at line 29 of file calendar.stub.php.
const int IntlCalendar::FIELD_HOUR_OF_DAY = UNKNOWN |
@cvalue UCAL_HOUR_OF_DAY
Definition at line 31 of file calendar.stub.php.
const int IntlCalendar::FIELD_IS_LEAP_MONTH = UNKNOWN |
@cvalue UCAL_IS_LEAP_MONTH
Definition at line 53 of file calendar.stub.php.
const int IntlCalendar::FIELD_JULIAN_DAY = UNKNOWN |
@cvalue UCAL_JULIAN_DAY
Definition at line 49 of file calendar.stub.php.
const int IntlCalendar::FIELD_MILLISECOND = UNKNOWN |
@cvalue UCAL_MILLISECOND
Definition at line 37 of file calendar.stub.php.
const int IntlCalendar::FIELD_MILLISECONDS_IN_DAY = UNKNOWN |
@cvalue UCAL_MILLISECONDS_IN_DAY
Definition at line 51 of file calendar.stub.php.
const int IntlCalendar::FIELD_MINUTE = UNKNOWN |
@cvalue UCAL_MINUTE
Definition at line 33 of file calendar.stub.php.
const int IntlCalendar::FIELD_MONTH = UNKNOWN |
@cvalue UCAL_MONTH
Definition at line 13 of file calendar.stub.php.
const int IntlCalendar::FIELD_SECOND = UNKNOWN |
@cvalue UCAL_SECOND
Definition at line 35 of file calendar.stub.php.
const int IntlCalendar::FIELD_WEEK_OF_MONTH = UNKNOWN |
@cvalue UCAL_WEEK_OF_MONTH
Definition at line 17 of file calendar.stub.php.
const int IntlCalendar::FIELD_WEEK_OF_YEAR = UNKNOWN |
@cvalue UCAL_WEEK_OF_YEAR
Definition at line 15 of file calendar.stub.php.
const int IntlCalendar::FIELD_YEAR = UNKNOWN |
@cvalue UCAL_YEAR
Definition at line 11 of file calendar.stub.php.
const int IntlCalendar::FIELD_YEAR_WOY = UNKNOWN |
@cvalue UCAL_YEAR_WOY
Definition at line 43 of file calendar.stub.php.
const int IntlCalendar::FIELD_ZONE_OFFSET = UNKNOWN |
@cvalue UCAL_ZONE_OFFSET
Definition at line 39 of file calendar.stub.php.
const int IntlCalendar::WALLTIME_FIRST = UNKNOWN |
@cvalue UCAL_WALLTIME_FIRST
Definition at line 84 of file calendar.stub.php.
const int IntlCalendar::WALLTIME_LAST = UNKNOWN |
@cvalue UCAL_WALLTIME_LAST
Definition at line 86 of file calendar.stub.php.
const int IntlCalendar::WALLTIME_NEXT_VALID = UNKNOWN |
@cvalue UCAL_WALLTIME_NEXT_VALID
Definition at line 88 of file calendar.stub.php.