|
IntlCalendar::getSkippedWallTimeOptionGet behavior for handling skipped wall time DescriptionObject-oriented style
public int IntlCalendar::getSkippedWallTimeOption()
Procedural style int intlcal_get_skipped_wall_time_option(IntlCalendar
$calendar )
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 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. Parameters
Return Values
One of the constants Examples
Example #1 IntlCalendar::getSkippedWallTimeOption
The above example will output: bool(true) int(0) string(40) "Sunday, March 31, 2013 at 1:30:00 AM GMT" int(1) string(41) "Sunday, March 31, 2013 at 12:30:00 AM GMT" int(2) string(40) "Sunday, March 31, 2013 at 1:00:00 AM GMT" See Also
|