Skip to content

Commit

Permalink
[skip ci] Update APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Nov 16, 2021
1 parent 18e8d07 commit 145d32e
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 108 deletions.
104 changes: 52 additions & 52 deletions docs/themes/punic/static/api/class-Punic.Calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,17 @@ <h1>Class Calendar</h1>
<code><a href="source-class-Punic.Calendar.html#103-195" title="Go to source code">toDateTime</a>( <span>number|DateTime|DateTimeInterface|string <var>$value</var></span>, <span>string|DateTimeZone <var>$toTimezone</var> = <span class="php-quote">''</span></span>, <span>string|DateTimeZone <var>$fromTimezone</var> = <span class="php-quote">''</span></span> )</code>

<div class="description short">
<p>Convert a date/time representation to a <a href="http://php.net/manual/class.datetime.php">\DateTime</a> instance.</p>
<p>Convert a date/time representation to a <a href="https://www.php.net/manual/class.datetime.php">\DateTime</a> instance.</p>
</div>

<div class="description detailed hidden">
<p>Convert a date/time representation to a <a href="http://php.net/manual/class.datetime.php">\DateTime</a> instance.</p>
<p>Convert a date/time representation to a <a href="https://www.php.net/manual/class.datetime.php">\DateTime</a> instance.</p>


<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$value</var></dt>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="http://php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="https://www.php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dt><var>$toTimezone</var></dt>
<dd>the timezone to set; leave empty to use the value of $fromTimezone (if it's empty we'll use the default timezone or the timezone associated to $value if it's already a <code>\DateTimeInterface</code>)</dd>
<dt><var>$fromTimezone</var></dt>
Expand Down Expand Up @@ -219,7 +219,7 @@ <h4>Example</h4>
<code><a href="source-class-Punic.Calendar.html#197-305" title="Go to source code">convertPhpToIsoFormat</a>( <span>string <var>$format</var></span> )</code>

<div class="description short">
<p>Converts a format string from <a href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">PHP&#039;s date format</a> to <a href="http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">ISO format</a>.
<p>Converts a format string from <a href="https://www.php.net/manual/function.date.php#refsect1-function.date-parameters">PHP&#039;s date format</a> to <a href="https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">ISO format</a>.
The following extra format chunks are introduced:
- 'P': ISO-8601 numeric representation of the day of the week (same as 'e' but not locale dependent)
- 'PP': Numeric representation of the day of the week, from 0 (for Sunday) to 6 (for Saturday)
Expand All @@ -237,7 +237,7 @@ <h4>Example</h4>
</div>

<div class="description detailed hidden">
<p>Converts a format string from <a href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">PHP&#039;s date format</a> to <a href="http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">ISO format</a>.
<p>Converts a format string from <a href="https://www.php.net/manual/function.date.php#refsect1-function.date-parameters">PHP&#039;s date format</a> to <a href="https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">ISO format</a>.
The following extra format chunks are introduced:
- 'P': ISO-8601 numeric representation of the day of the week (same as 'e' but not locale dependent)
- 'PP': Numeric representation of the day of the week, from 0 (for Sunday) to 6 (for Saturday)
Expand Down Expand Up @@ -285,11 +285,11 @@ <h4>Returns</h4>
<code><a href="source-class-Punic.Calendar.html#307-580" title="Go to source code">tryConvertIsoToPhpFormat</a>( <span>string <var>$isoDateTimeFormat</var></span> )</code>

<div class="description short">
<p>Try to convert a date, time or date/time <a href="http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">ISO format string</a> to a <a href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">PHP date/time format</a>.</p>
<p>Try to convert a date, time or date/time <a href="https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">ISO format string</a> to a <a href="https://www.php.net/manual/function.date.php#refsect1-function.date-parameters">PHP date/time format</a>.</p>
</div>

<div class="description detailed hidden">
<p>Try to convert a date, time or date/time <a href="http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">ISO format string</a> to a <a href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">PHP date/time format</a>.</p>
<p>Try to convert a date, time or date/time <a href="https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">ISO format string</a> to a <a href="https://www.php.net/manual/function.date.php#refsect1-function.date-parameters">PHP date/time format</a>.</p>


<h4>Parameters</h4>
Expand Down Expand Up @@ -606,7 +606,7 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://www.unicode.org/reports/tr35/tr35-dates.html#Variable_periods<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Variable_periods<br>
</div>


Expand Down Expand Up @@ -698,7 +698,7 @@ <h4>Returns</h4>

<h4>See</h4>
<div class="list">
http://www.unicode.org/reports/tr35/tr35-dates.html#Time_Zone_Goals<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Time_Zone_Goals<br>
</div>


Expand Down Expand Up @@ -910,9 +910,9 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -961,9 +961,9 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1012,9 +1012,9 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1062,8 +1062,8 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns#TOC-Additional-Date-Time-Formats<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns#h.j31ghafvbgku<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems<br>
</div>


Expand Down Expand Up @@ -1116,7 +1116,7 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://www.unicode.org/reports/tr35/tr35-dates.html#intervalFormats<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#intervalFormats<br>
</div>


Expand Down Expand Up @@ -1262,9 +1262,9 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1295,7 +1295,7 @@ <h4>See</h4>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$value</var></dt>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="http://php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="https://www.php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dt><var>$width</var></dt>
<dd><p>The format name; it can be 'full' (eg 'EEEE, MMMM d, y' - 'Wednesday, August 20, 2014'), 'long' (eg 'MMMM d, y' - 'August 20, 2014'), 'medium' (eg 'MMM d, y' - 'August 20, 2014') or 'short' (eg 'M/d/yy' - '8/20/14'),
or a skeleton pattern prefixed by '~', e.g. '~yMd'.
Expand All @@ -1319,9 +1319,9 @@ <h4>Throws</h4>
<h4>See</h4>
<div class="list">
<code><a href="class-Punic.Calendar.html#_toDateTime">Punic\Calendar::toDateTime()</a></code><br>
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1372,9 +1372,9 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1405,7 +1405,7 @@ <h4>See</h4>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$value</var></dt>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="http://php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="https://www.php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dt><var>$width</var></dt>
<dd><p>The format name; it can be 'full' (eg 'h:mm:ss a zzzz' - '11:42:13 AM GMT+2:00'), 'long' (eg 'h:mm:ss a z' - '11:42:13 AM GMT+2:00'), 'medium' (eg 'h:mm:ss a' - '11:42:13 AM') or 'short' (eg 'h:mm a' - '11:42 AM'),
or a skeleton pattern prefixed by '~', e.g. '~Hm'.</p></dd>
Expand All @@ -1428,9 +1428,9 @@ <h4>Throws</h4>
<h4>See</h4>
<div class="list">
<code><a href="class-Punic.Calendar.html#_toDateTime">Punic\Calendar::toDateTime()</a></code><br>
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1482,9 +1482,9 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1515,7 +1515,7 @@ <h4>See</h4>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$value</var></dt>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="http://php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="https://www.php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dt><var>$width</var></dt>
<dd><p>The format name; it can be 'full', 'long', 'medium', 'short' or a combination for date+time like 'full|short' or a combination for format+date+time like 'full|full|short'
You can also append an asterisk ('*') to the date part of $width. If so, special day names may be used (like 'Today', 'Yesterday', 'Tomorrow') instead of the date part.</p></dd>
Expand All @@ -1538,9 +1538,9 @@ <h4>Throws</h4>
<h4>See</h4>
<div class="list">
<code><a href="class-Punic.Calendar.html#_toDateTime">Punic\Calendar::toDateTime()</a></code><br>
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1588,7 +1588,7 @@ <h4>Returns</h4>

<h4>See</h4>
<div class="list">
http://www.unicode.org/reports/tr35/tr35-dates.html#intervalFormats<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#intervalFormats<br>
</div>


Expand Down Expand Up @@ -1619,9 +1619,9 @@ <h4>See</h4>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$earliest</var></dt>
<dd>An Unix timestamp, a <code>\DateTime</code> instance or a string accepted by <a href="http://php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dd>An Unix timestamp, a <code>\DateTime</code> instance or a string accepted by <a href="https://www.php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dt><var>$latest</var></dt>
<dd>An Unix timestamp, a <code>\DateTime</code> instance or a string accepted by <a href="http://php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dd>An Unix timestamp, a <code>\DateTime</code> instance or a string accepted by <a href="https://www.php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dt><var>$skeleton</var></dt>
<dd>The locale-independent skeleton, e.g. "yMMMd" or "Hm".</dd>
<dt><var>$toTimezone</var></dt>
Expand Down Expand Up @@ -1697,9 +1697,9 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down Expand Up @@ -1730,7 +1730,7 @@ <h4>See</h4>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$value</var></dt>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="http://php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dd>A Unix timestamp, a <code>\DateTimeInterface</code> instance or a string accepted by <a href="https://www.php.net/manual/function.strtotime.php">strtotime</a>.</dd>
<dt><var>$format</var></dt>
<dd><p>The ISO format that specify how to render the date/time. The following extra format chunks are valid:
- 'P': ISO-8601 numeric representation of the day of the week (same as 'e' but not locale dependent)
Expand Down Expand Up @@ -1764,9 +1764,9 @@ <h4>Throws</h4>

<h4>See</h4>
<div class="list">
http://cldr.unicode.org/translation/date-time-patterns<br>
http://cldr.unicode.org/translation/date-time<br>
http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
https://cldr.unicode.org/translation/date-time/datetime-patterns<br>
https://cldr.unicode.org/translation/date-time<br>
https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns<br>
</div>


Expand Down

0 comments on commit 145d32e

Please sign in to comment.