Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 321

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="extensions" page="functions" subpage="in-summer-time"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: saxon:in-summer-time()</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: saxon:in-summer-time()"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>saxon:in-summer-time()</h1>
      <p><b>saxon:in-summer-time($date as xs:dateTime, $region as xs:string) ==&gt; boolean?</b></p>
      <p>The <code>$region</code> argument may either be an ISO two-letter country code (for example "de" or "es"), or
an Olsen timezone name (such as "America/New_York" or "Europe/Lisbon"). The function returns true if the given
date/time is in summer time (daylight savings time) in that country or timezone, as far as can be determined
from the Java timezone database. If the information is not available the function either returns false or an empty sequence.</p>
      <p>If a country code is specified for a country that spans different timezones with different daylight savings rules
(for example, the US), then one timezone in that country is chosen arbitrarily.</p>
      <p>For reliable results, the supplied date/time should include a timezone. This does not need to correspond to
the timezone named in the second argument; it is there purely to ensure that <code>$date</code> represents a single
point in time unambigously.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="is-whole-number.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>