|
IntlCalendar::getSkippedWallTimeOptionGet behavior for handling skipped wall time BeschreibungObjektorientierter Stil
public int IntlCalendar::getSkippedWallTimeOption
( void
)
Prozeduraler Stil
int intlcal_get_skipped_wall_time_option
( IntlCalendar
$cal
)
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. Parameter-Liste
Rückgabewerte
One of the constants Beispiele
Beispiel #1 IntlCalendar::getSkippedWallTimeOption
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 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" Siehe auch
|