diff --git a/reference/datetime/datetime.xml b/reference/datetime/datetime.xml index bfc5b740c..af631e5f2 100644 --- a/reference/datetime/datetime.xml +++ b/reference/datetime/datetime.xml @@ -1,5 +1,5 @@ - + DateTime sınıfı @@ -79,6 +79,12 @@ + + 8.4.0 + + Sınıf sabitleri artık tür belirtimli. + + 7.2.0 diff --git a/reference/datetime/datetimeimmutable.xml b/reference/datetime/datetimeimmutable.xml index 46c7105c3..021a50bf0 100644 --- a/reference/datetime/datetimeimmutable.xml +++ b/reference/datetime/datetimeimmutable.xml @@ -1,5 +1,5 @@ - + DateTimeImmutable sınıfı @@ -69,6 +69,12 @@ + + 8.4.0 + + Sınıf sabitleri artık tür belirtimli. + + 7.1.0 diff --git a/reference/datetime/datetimeinterface.xml b/reference/datetime/datetimeinterface.xml index c1a2e0c2d..ee64efe6e 100644 --- a/reference/datetime/datetimeinterface.xml +++ b/reference/datetime/datetimeinterface.xml @@ -1,5 +1,5 @@ - + DateTimeInterface arayüzü @@ -149,17 +149,23 @@ &reftitle.constants; - DateTimeInterface::ATOM + + DateTimeInterface::ATOM + string + DATE_ATOM - Atom (örnek: 2005-08-15T15:52:01+00:00) + Atom (örnek: 2005-08-15T15:52:01+00:00); ISO-8601, RFC 3339 ve XML Schema ile uyumlu - DateTimeInterface::COOKIE + + DateTimeInterface::COOKIE + string + DATE_COOKIE @@ -169,11 +175,14 @@ - DateTimeInterface::ISO8601 + + DateTimeInterface::ISO8601 + string + DATE_ISO8601 - ISO-8601 (örnek: 2005-08-15T15:52:01+0000) + ISO-8601 benzeri (örnek: 2005-08-15T15:52:01+0000) @@ -188,7 +197,10 @@ - DateTimeInterface::ISO8601_EXPANDED + + DateTimeInterface::ISO8601_EXPANDED + string + DATE_ISO8601_EXPANDED @@ -198,15 +210,18 @@ Bu biçim, her zaman bir işaret karakteri ekleyerek, ISO-8601'in normal aralığı olan 0000-9999 dışındaki - yıl aralıklarına izin verir. Ayrıca, bu zaman dilimi bölümünün - (+01:00) ISO-8601 ile uyumlu olduğunu da belirtir. + yıl aralıklarına izin verir. Ayrıca, zaman dilimi bölümünün + (+01:00) ISO-8601 ile uyumlu olmasını sağlar. - DateTimeInterface::RFC822 + + DateTimeInterface::RFC822 + string + DATE_RFC822 @@ -216,7 +231,10 @@ - DateTimeInterface::RFC850 + + DateTimeInterface::RFC850 + string + DATE_RFC850 @@ -226,7 +244,10 @@ - DateTimeInterface::RFC1036 + + DateTimeInterface::RFC1036 + string + DATE_RFC1036 @@ -236,7 +257,10 @@ - DateTimeInterface::RFC1123 + + DateTimeInterface::RFC1123 + string + DATE_RFC1123 @@ -246,7 +270,10 @@ - DateTimeInterface::RFC7231 + + DateTimeInterface::RFC7231 + string + DATE_RFC7231 @@ -256,7 +283,10 @@ - DateTimeInterface::RFC2822 + + DateTimeInterface::RFC2822 + string + DATE_RFC2822 @@ -266,7 +296,10 @@ - DateTimeInterface::RFC3339 + + DateTimeInterface::RFC3339 + string + DATE_RFC3339 @@ -276,7 +309,10 @@ - DateTimeInterface::RFC3339_EXTENDED + + DateTimeInterface::RFC3339_EXTENDED + string + DATE_RFC3339_EXTENDED @@ -287,7 +323,10 @@ - DateTimeInterface::RSS + + DateTimeInterface::RSS + string + DATE_RSS @@ -297,7 +336,10 @@ - DateTimeInterface::W3C + + DateTimeInterface::W3C + string + DATE_W3C @@ -322,6 +364,18 @@ + + 8.5.0 + + DATE_RFC7231 ve + DateTimeInterface::RFC7231 sabitlerinin kullanımı + önerilmiyor. + + + + 8.4.0 + Sınıf sabitleri artık tür belirtimli. + 8.2.0 diff --git a/reference/datetime/datetimezone.xml b/reference/datetime/datetimezone.xml index 989872b05..3c5124084 100644 --- a/reference/datetime/datetimezone.xml +++ b/reference/datetime/datetimezone.xml @@ -1,5 +1,5 @@ - + DateTimeZone sınıfı @@ -130,85 +130,127 @@ &reftitle.constants; - DateTimeZone::AFRICA + + DateTimeZone::AFRICA + int + Afrika zaman dilimleri. - DateTimeZone::AMERICA + + DateTimeZone::AMERICA + int + Amerika zaman dilimleri. - DateTimeZone::ANTARCTICA + + DateTimeZone::ANTARCTICA + int + Antarktika zaman dilimleri. - DateTimeZone::ARCTIC + + DateTimeZone::ARCTIC + int + Kuzey Kutup Dairesi zaman dilimleri. - DateTimeZone::ASIA + + DateTimeZone::ASIA + int + Asya zaman dilimleri. - DateTimeZone::ATLANTIC + + DateTimeZone::ATLANTIC + int + Atlantik zaman dilimleri. - DateTimeZone::AUSTRALIA + + DateTimeZone::AUSTRALIA + int + Avustralya zaman dilimleri. - DateTimeZone::EUROPE + + DateTimeZone::EUROPE + int + Avrupa zaman dilimleri. - DateTimeZone::INDIAN + + DateTimeZone::INDIAN + int + Hindistan zaman dilimleri. - DateTimeZone::PACIFIC + + DateTimeZone::PACIFIC + int + Pasifik zaman dilimleri. - DateTimeZone::UTC + + DateTimeZone::UTC + int + UTC zaman dilimleri. - DateTimeZone::ALL + + DateTimeZone::ALL + int + Tüm zaman dilimleri. - DateTimeZone::ALL_WITH_BC + + DateTimeZone::ALL_WITH_BC + int + Geriye uyumluluk dahil tüm zaman dilimleri. - DateTimeZone::PER_COUNTRY + + DateTimeZone::PER_COUNTRY + int + Ülkelere göre zaman dilimleri. @@ -216,7 +258,27 @@ - +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + Sınıf sabitleri artık tür belirtimli. + + + + + +
diff --git a/reference/datetime/datetimezone/construct.xml b/reference/datetime/datetimezone/construct.xml index 6aa5c4f25..9b05578ca 100644 --- a/reference/datetime/datetimezone/construct.xml +++ b/reference/datetime/datetimezone/construct.xml @@ -1,5 +1,5 @@ - + DateTimeZone::__construct @@ -115,17 +115,18 @@ foreach ($timezones as $tz) { $tzo = new DateTimeZone($tz); $local = $d->setTimezone($tzo); - echo $local->format(DateTimeInterface::RFC2822 . ' — e'), "\n"; + echo $local->format(DateTimeInterface::RFC2822 . ' — e') . "\n"; } -?> ]]> &example.outputs; + @@ -143,16 +144,17 @@ $zamandilimleri = array('Europe/Istanbul', 'Mars/Phobos', 'Jupiter/Europa'); foreach ($zamandilimleri as $zd) { try { $mars = new DateTimeZone($zd); + echo $mars->getName() . "\n"; } catch(Exception $e) { - echo $e->getMessage() . '
'; + echo $e->getMessage() . "\n"; } } -?> ]]> &example.outputs; diff --git a/reference/datetime/datetimezone/getlocation.xml b/reference/datetime/datetimezone/getlocation.xml index 9d6d2c314..0d353b82a 100644 --- a/reference/datetime/datetimezone/getlocation.xml +++ b/reference/datetime/datetimezone/getlocation.xml @@ -1,5 +1,5 @@ - + DateTimeZone::getLocation @@ -50,10 +50,9 @@ getLocation()); print_r(timezone_location_get($tz)); -?> ]]> &example.outputs; @@ -61,22 +60,31 @@ print_r(timezone_location_get($tz)); CZ - [latitude] => 50.08333 - [longitude] => 14.43333 - [comments] => + [country_code] => ID + [latitude] => -6.16667 + [longitude] => 106.8 + [comments] => Java, Sumatra ) Array ( - [country_code] => CZ - [latitude] => 50.08333 - [longitude] => 14.43333 - [comments] => + [country_code] => ID + [latitude] => -6.16667 + [longitude] => 106.8 + [comments] => Java, Sumatra ) ]]> + + country_code elemanları, her bir girdi için ISO 3166-1 + alpha-2 ülke kodunu içerir. latitude ve + longitude elemanları, zaman dilimi tanımlayıcısındaki + şehrin koordinatlarını, comments elemanı ise + (&false; olmadığında) bu zaman diliminin verilen ülkede nerelerde + uygulandığına dair bir ipucunu içerir. Bu bilgi son kullanıcılara + sunulmaya uygundur. +