IntlCalendar::getSkippedWallTimeOption() - IntlCalendar类
IntlCalendar::getSkippedWallTimeOption()
(PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1)
Get behavior for handling skipped wall time
说明
面向对象风格publicIntlCalendar::getSkippedWallTimeOption(void): int过程化风格
intlcal_get_skipped_wall_time_option(IntlCalendar$cal): int
Gets the current strategy for dealing with wall times that are skipped whenever the clock is forwarded during dailight saving time start transitions. The default value is IntlCalendar::WALLTIME_LAST
.
The calendar must be lenient for this option to have any effect, otherwise attempting to set a non-existing time will cause an error.
This function requires ICU 4.9 or later.
参数
$calThe IntlCalendar resource.
返回值
One of the constants IntlCalendar::WALLTIME_FIRST
,IntlCalendar::WALLTIME_LAST
or IntlCalendar::WALLTIME_NEXT_VALID
.
范例
IntlCalendar::getSkippedWallTimeOption()
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!