1--TEST--
2IntlCalendar::inDaylightTime() basic test
3--INI--
4date.timezone=Atlantic/Azores
5--EXTENSIONS--
6intl
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10ini_set("intl.default_locale", "nl");
11
12$intlcal = IntlCalendar::createInstance('Europe/Amsterdam');
13$intlcal->setTime(strtotime('2012-01-01') * 1000);
14var_dump($intlcal->inDaylightTime());
15$intlcal->setTime(strtotime('2012-04-01') * 1000);
16var_dump(intlcal_in_daylight_time($intlcal));
17?>
18--EXPECT--
19bool(false)
20bool(true)
20