You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

251 regels
15 KiB

  1. <!DOCTYPE html><html lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  5. <meta charset="utf-8">
  6. <title>PHPExcel classes » \PHPExcel_Shared_TimeZone</title>
  7. <meta name="author" content="Mike van Riel">
  8. <meta name="description" content="">
  9. <link href="../css/template.css" rel="stylesheet" media="all">
  10. <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
  11. <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
  14. </head>
  15. <body>
  16. <div class="navbar navbar-fixed-top">
  17. <div class="navbar-inner"><div class="container">
  18. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">PHPExcel classes</a><div class="nav-collapse"><ul class="nav">
  19. <li class="dropdown">
  20. <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
  21. API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
  22. <li><a>Packages</a></li>
  23. <li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
  24. <li><a href="../packages/JAMA.html"><i class="icon-folder-open"></i> JAMA</a></li>
  25. <li><a href="../packages/JAMA%0D%0ACholesky%20decomposition%20class%0D%0AFor%20a%20symmetric,%20positive%20definite%20matrix%20A,%20the%20Cholesky%20decomposition%0D%0Ais%20an%20lower%20triangular%20matrix%20L%20so%20that%20A%20=%20L*L'.html"><i class="icon-folder-open"></i> JAMA
  26. Cholesky decomposition class
  27. For a symmetric, positive definite matrix A, the Cholesky decomposition
  28. is an lower triangular matrix L so that A = L*L'</a></li>
  29. <li><a href="../packages/JAMA%0D%0AClass%20to%20obtain%20eigenvalues%20and%20eigenvectors%20of%20a%20real%20matrix.html"><i class="icon-folder-open"></i> JAMA
  30. Class to obtain eigenvalues and eigenvectors of a real matrix</a></li>
  31. <li><a href="../packages/JAMA%0D%0AError%20handling.html"><i class="icon-folder-open"></i> JAMA
  32. Error handling</a></li>
  33. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20LU%20decomposition%20is%20an%20m-by-n%0D%0Aunit%20lower%20triangular%20matrix%20L,%20an%20n-by-n%20upper%20triangular%20matrix%20U,%0D%0Aand%20a%20permutation%20vector%20piv%20of%20length%20m%20so%20that%20A(piv,:)%20=%20L*U.html"><i class="icon-folder-open"></i> JAMA
  34. For an m-by-n matrix A with m &gt;= n, the LU decomposition is an m-by-n
  35. unit lower triangular matrix L, an n-by-n upper triangular matrix U,
  36. and a permutation vector piv of length m so that A(piv,:) = L*U</a></li>
  37. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20QR%20decomposition%20is%20an%20m-by-n%0D%0Aorthogonal%20matrix%20Q%20and%20an%20n-by-n%20upper%20triangular%20matrix%20R%20so%20that%0D%0AA%20=%20Q*R.html"><i class="icon-folder-open"></i> JAMA
  38. For an m-by-n matrix A with m &gt;= n, the QR decomposition is an m-by-n
  39. orthogonal matrix Q and an n-by-n upper triangular matrix R so that
  40. A = Q*R</a></li>
  41. <li><a href="../packages/JAMA%0D%0AFor%20an%20m-by-n%20matrix%20A%20with%20m%20&gt;=%20n,%20the%20singular%20value%20decomposition%20is%0D%0Aan%20m-by-n%20orthogonal%20matrix%20U,%20an%20n-by-n%20diagonal%20matrix%20S,%20and%0D%0Aan%20n-by-n%20orthogonal%20matrix%20V%20so%20that%20A%20=%20U*S*V'.html"><i class="icon-folder-open"></i> JAMA
  42. For an m-by-n matrix A with m &gt;= n, the singular value decomposition is
  43. an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and
  44. an n-by-n orthogonal matrix V so that A = U*S*V'</a></li>
  45. <li><a href="../packages/JAMA%0D%0APythagorean%20Theorem:%0D%0Aa%20=%203%0D%0Ab%20=%204%0D%0Ar%20=%20sqrt(square(a)%20+%20square(b))%0D%0Ar%20=%205%0D%0Ar%20=%20sqrt(a%5E2%20+%20b%5E2)%20without%20under.overflow.html"><i class="icon-folder-open"></i> JAMA
  46. Pythagorean Theorem:
  47. a = 3
  48. b = 4
  49. r = sqrt(square(a) + square(b))
  50. r = 5
  51. r = sqrt(a^2 + b^2) without under/overflow</a></li>
  52. <li><a href="../packages/PHPExcel.html"><i class="icon-folder-open"></i> PHPExcel</a></li>
  53. </ul>
  54. </li>
  55. <li class="dropdown" id="charts-menu">
  56. <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
  57. Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
  58. </li>
  59. <li class="dropdown" id="reports-menu">
  60. <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
  61. Reports <b class="caret"></b></a><ul class="dropdown-menu">
  62. <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
  63. <span class="label label-info">551</span></a></li>
  64. <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
  65. <ul>
  66. <li>todo 
  67. <span class="label label-info">19</span>
  68. </li>
  69. <li>fixme 
  70. <span class="label label-info">10</span>
  71. </li>
  72. </ul></a></li>
  73. <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
  74. <span class="label label-info">12</span></a></li>
  75. </ul>
  76. </li>
  77. </ul></div>
  78. </div></div>
  79. <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
  80. </div>
  81. <div id="___" class="container">
  82. <noscript><div class="alert alert-warning">
  83. Javascript is disabled; several features are only available
  84. if Javascript is enabled.
  85. </div></noscript>
  86. <div class="row">
  87. <div class="span4">
  88. <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
  89. <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
  90. </div>
  91. <ul class="side-nav nav nav-list">
  92. <li class="nav-header">
  93. <i class="icon-custom icon-method"></i> Methods
  94. <ul>
  95. <li class="method public "><a href="#method__validateTimeZone" title="_validateTimeZone :: Validate a Timezone name"><span class="description">Validate a Timezone name</span><pre>_validateTimeZone()</pre></a></li>
  96. <li class="method public "><a href="#method_getTimeZone" title="getTimeZone :: Return the Default Timezone used for date/time conversions"><span class="description">Return the Default Timezone used for date/time conversions</span><pre>getTimeZone()</pre></a></li>
  97. <li class="method public "><a href="#method_getTimeZoneAdjustment" title="getTimeZoneAdjustment :: Return the Timezone offset used for date/time conversions to/from UST
  98. This requires both the timezone and the calculated date/time to allow for local DST"><span class="description">Return the Timezone offset used for date/time conversions to/from UST
  99. This requires both the timezone and the calculated date/time to allow for local DST</span><pre>getTimeZoneAdjustment()</pre></a></li>
  100. <li class="method public "><a href="#method_setTimeZone" title="setTimeZone :: Set the Default Timezone used for date/time conversions"><span class="description">Set the Default Timezone used for date/time conversions</span><pre>setTimeZone()</pre></a></li>
  101. </ul>
  102. </li>
  103. <li class="nav-header private">» Private
  104. <ul><li class="method private "><a href="#method__getTimezoneTransitions" title="_getTimezoneTransitions :: Return the Timezone transition for the specified timezone and timestamp"><span class="description">Return the Timezone transition for the specified timezone and timestamp</span><pre>_getTimezoneTransitions()</pre></a></li></ul>
  105. </li>
  106. <li class="nav-header">
  107. <i class="icon-custom icon-property"></i> Properties
  108. <ul></ul>
  109. </li>
  110. <li class="nav-header protected">» Protected
  111. <ul><li class="property protected "><a href="#property__timezone" title="$_timezone :: "><span class="description"></span><pre>$_timezone</pre></a></li></ul>
  112. </li>
  113. </ul>
  114. </div>
  115. <div class="span8">
  116. <a id="\PHPExcel_Shared_TimeZone"></a><ul class="breadcrumb">
  117. <li>
  118. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  119. </li>
  120. <li><a href="../namespaces/global.html">global</a></li>
  121. <li class="active">
  122. <span class="divider">\</span><a href="../classes/PHPExcel_Shared_TimeZone.html">PHPExcel_Shared_TimeZone</a>
  123. </li>
  124. </ul>
  125. <div class="element class">
  126. <p class="short_description">PHPExcel_Shared_TimeZone</p>
  127. <div class="details">
  128. <div class="long_description"></div>
  129. <table class="table table-bordered">
  130. <tr>
  131. <th>category</th>
  132. <td>PHPExcel</td>
  133. </tr>
  134. <tr>
  135. <th>package</th>
  136. <td><a href="../packages/PHPExcel.Shared.html">PHPExcel_Shared</a></td>
  137. </tr>
  138. <tr>
  139. <th>copyright</th>
  140. <td>Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)</td>
  141. </tr>
  142. </table>
  143. <h3>
  144. <i class="icon-custom icon-method"></i> Methods</h3>
  145. <a id="method__validateTimeZone"></a><div class="element clickable method public method__validateTimeZone" data-toggle="collapse" data-target=".method__validateTimeZone .collapse">
  146. <h2>Validate a Timezone name</h2>
  147. <pre>_validateTimeZone(string $timezone) : boolean</pre>
  148. <div class="labels"><span class="label">Static</span></div>
  149. <div class="row collapse"><div class="detail-description">
  150. <div class="long_description"></div>
  151. <h3>Parameters</h3>
  152. <div class="subelement argument">
  153. <h4>$timezone</h4>
  154. <code>string</code><p>Time zone (e.g. 'Europe/London')</p>
  155. </div>
  156. <h3>Returns</h3>
  157. <div class="subelement response">
  158. <code>boolean</code>Success or failure</div>
  159. </div></div>
  160. </div>
  161. <a id="method_getTimeZone"></a><div class="element clickable method public method_getTimeZone" data-toggle="collapse" data-target=".method_getTimeZone .collapse">
  162. <h2>Return the Default Timezone used for date/time conversions</h2>
  163. <pre>getTimeZone() : string</pre>
  164. <div class="labels"><span class="label">Static</span></div>
  165. <div class="row collapse"><div class="detail-description">
  166. <div class="long_description"></div>
  167. <h3>Returns</h3>
  168. <div class="subelement response">
  169. <code>string</code>Timezone (e.g. 'Europe/London')</div>
  170. </div></div>
  171. </div>
  172. <a id="method_getTimeZoneAdjustment"></a><div class="element clickable method public method_getTimeZoneAdjustment" data-toggle="collapse" data-target=".method_getTimeZoneAdjustment .collapse">
  173. <h2>Return the Timezone offset used for date/time conversions to/from UST
  174. This requires both the timezone and the calculated date/time to allow for local DST</h2>
  175. <pre>getTimeZoneAdjustment(string $timezone, integer $timestamp) : integer</pre>
  176. <div class="labels"><span class="label">Static</span></div>
  177. <div class="row collapse"><div class="detail-description">
  178. <div class="long_description"></div>
  179. <h3>Parameters</h3>
  180. <div class="subelement argument">
  181. <h4>$timezone</h4>
  182. <code>string</code><p>The timezone for finding the adjustment to UST</p></div>
  183. <div class="subelement argument">
  184. <h4>$timestamp</h4>
  185. <code>integer</code><p>PHP date/time value</p>
  186. </div>
  187. <h3>Exceptions</h3>
  188. <table class="table table-bordered"><tr>
  189. <th><code><a href="../classes/PHPExcel_Exception.html">\PHPExcel_Exception</a></code></th>
  190. <td></td>
  191. </tr></table>
  192. <h3>Returns</h3>
  193. <div class="subelement response">
  194. <code>integer</code>Number of seconds for timezone adjustment</div>
  195. </div></div>
  196. </div>
  197. <a id="method_setTimeZone"></a><div class="element clickable method public method_setTimeZone" data-toggle="collapse" data-target=".method_setTimeZone .collapse">
  198. <h2>Set the Default Timezone used for date/time conversions</h2>
  199. <pre>setTimeZone(string $timezone) : boolean</pre>
  200. <div class="labels"><span class="label">Static</span></div>
  201. <div class="row collapse"><div class="detail-description">
  202. <div class="long_description"></div>
  203. <h3>Parameters</h3>
  204. <div class="subelement argument">
  205. <h4>$timezone</h4>
  206. <code>string</code><p>Time zone (e.g. 'Europe/London')</p>
  207. </div>
  208. <h3>Returns</h3>
  209. <div class="subelement response">
  210. <code>boolean</code>Success or failure</div>
  211. </div></div>
  212. </div>
  213. <a id="method__getTimezoneTransitions"></a><div class="element clickable method private method__getTimezoneTransitions" data-toggle="collapse" data-target=".method__getTimezoneTransitions .collapse">
  214. <h2>Return the Timezone transition for the specified timezone and timestamp</h2>
  215. <pre>_getTimezoneTransitions(<a href="http://php.net/manual/en/class.datetimezone.php">\DateTimeZone</a> $objTimezone, integer $timestamp) : array</pre>
  216. <div class="labels"><span class="label">Static</span></div>
  217. <div class="row collapse"><div class="detail-description">
  218. <div class="long_description"></div>
  219. <h3>Parameters</h3>
  220. <div class="subelement argument">
  221. <h4>$objTimezone</h4>
  222. <code><a href="http://php.net/manual/en/class.datetimezone.php">\DateTimeZone</a></code><p>The timezone for finding the transitions</p></div>
  223. <div class="subelement argument">
  224. <h4>$timestamp</h4>
  225. <code>integer</code><p>PHP date/time value for finding the current transition</p>
  226. </div>
  227. <h3>Returns</h3>
  228. <div class="subelement response">
  229. <code>array</code>The current transition details</div>
  230. </div></div>
  231. </div>
  232. <h3>
  233. <i class="icon-custom icon-property"></i> Properties</h3>
  234. <a id="property__timezone"> </a><div class="element clickable property protected property__timezone" data-toggle="collapse" data-target=".property__timezone .collapse">
  235. <h2></h2>
  236. <pre>$_timezone </pre>
  237. <div class="labels"></div>
  238. <div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
  239. </div>
  240. </div>
  241. </div>
  242. </div>
  243. </div>
  244. <div class="row"><footer class="span12">
  245. Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
  246. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a12</a> and<br>
  247. generated on 2014-03-02T15:27:37Z.<br></footer></div>
  248. </div>
  249. </body>
  250. </html>