913 lines
No EOL
101 KiB
HTML
913 lines
No EOL
101 KiB
HTML
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Time | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
<div class="tsd-toolbar-contents container">
|
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
<div class="field">
|
|
<div id="tsd-toolbar-links"></div></div>
|
|
<ul class="results">
|
|
<li class="state loading">Preparing search index...</li>
|
|
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
|
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
<div class="container container-main">
|
|
<div class="col-content">
|
|
<div class="tsd-page-title">
|
|
<ul class="tsd-breadcrumb">
|
|
<li><a href="../modules.html">Documentation</a></li>
|
|
<li><a href="../modules/time.html">time</a></li>
|
|
<li><a href="time.Time.html">Time</a></li></ul>
|
|
<h1>Interface Time</h1></div>
|
|
<section class="tsd-panel tsd-comment">
|
|
<div class="tsd-comment tsd-typography"><p>A Time represents an instant in time with nanosecond precision.</p>
|
|
<p>Programs using times should typically store and pass them as values,
|
|
not pointers. That is, time variables and struct fields should be of
|
|
type [time.Time], not *time.Time.</p>
|
|
<p>A Time value can be used by multiple goroutines simultaneously except
|
|
that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and
|
|
[Time.UnmarshalText] are not concurrency-safe.</p>
|
|
<p>Time instants can be compared using the [Time.Before], [Time.After], and [Time.Equal] methods.
|
|
The [Time.Sub] method subtracts two instants, producing a [Duration].
|
|
The [Time.Add] method adds a Time and a Duration, producing a Time.</p>
|
|
<p>The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC.
|
|
As this time is unlikely to come up in practice, the [Time.IsZero] method gives
|
|
a simple way of detecting a time that has not been initialized explicitly.</p>
|
|
<p>Each time has an associated [Location]. The methods [Time.Local], [Time.UTC], and Time.In return a
|
|
Time with a specific Location. Changing the Location of a Time value with
|
|
these methods does not change the actual instant it represents, only the time
|
|
zone in which to interpret it.</p>
|
|
<p>Representations of a Time value saved by the [Time.GobEncode], [Time.MarshalBinary],
|
|
[Time.MarshalJSON], and [Time.MarshalText] methods store the [Time.Location]'s offset, but not
|
|
the location name. They therefore lose information about Daylight Saving Time.</p>
|
|
<p>In addition to the required “wall clock” reading, a Time may contain an optional
|
|
reading of the current process's monotonic clock, to provide additional precision
|
|
for comparison or subtraction.
|
|
See the “Monotonic Clocks” section in the package documentation for details.</p>
|
|
<p>Note that the Go == operator compares not just the time instant but also the
|
|
Location and the monotonic clock reading. Therefore, Time values should not
|
|
be used as map or database keys without first guaranteeing that the
|
|
identical Location has been set for all values, which can be achieved
|
|
through use of the UTC or Local method, and that the monotonic clock reading
|
|
has been stripped by setting t = t.Round(0). In general, prefer t.Equal(u)
|
|
to t == u, since t.Equal uses the most accurate comparison available and
|
|
correctly handles the case when only one of its arguments has a monotonic
|
|
clock reading.</p>
|
|
</div>
|
|
<div class="tsd-comment tsd-typography"></div></section>
|
|
<section class="tsd-panel tsd-hierarchy">
|
|
<h4>Hierarchy</h4>
|
|
<ul class="tsd-hierarchy">
|
|
<li><span class="target">Time</span></li></ul></section><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L307">types.d.ts:307</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L325">types.d.ts:325</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L332">types.d.ts:332</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L343">types.d.ts:343</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L393">types.d.ts:393</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L395">types.d.ts:395</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L401">types.d.ts:401</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L407">types.d.ts:407</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L414">types.d.ts:414</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L424">types.d.ts:424</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L431">types.d.ts:431</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L437">types.d.ts:437</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L443">types.d.ts:443</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L449">types.d.ts:449</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L455">types.d.ts:455</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L461">types.d.ts:461</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L470">types.d.ts:470</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L476">types.d.ts:476</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L482">types.d.ts:482</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L488">types.d.ts:488</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L494">types.d.ts:494</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L501">types.d.ts:501</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L508">types.d.ts:508</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L514">types.d.ts:514</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L523">types.d.ts:523</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L545">types.d.ts:545</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L551">types.d.ts:551</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L557">types.d.ts:557</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L567">types.d.ts:567</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L573">types.d.ts:573</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L580">types.d.ts:580</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L590">types.d.ts:590</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L601">types.d.ts:601</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L611">types.d.ts:611</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L621">types.d.ts:621</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L632">types.d.ts:632</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L638">types.d.ts:638</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L644">types.d.ts:644</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L650">types.d.ts:650</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L656">types.d.ts:656</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L665">types.d.ts:665</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L672">types.d.ts:672</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L681">types.d.ts:681</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L688">types.d.ts:688</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L694">types.d.ts:694</a></li>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L706">types.d.ts:706</a></li></ul></aside>
|
|
<section class="tsd-panel-group tsd-index-group">
|
|
<section class="tsd-panel tsd-index-panel">
|
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
|
<div class="tsd-accordion-details">
|
|
<section class="tsd-index-section">
|
|
<h3 class="tsd-index-heading">Methods</h3>
|
|
<div class="tsd-index-list"><a href="time.Time.html#Add" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>Add</span></a>
|
|
<a href="time.Time.html#AddDate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Add<wbr/>Date</span></a>
|
|
<a href="time.Time.html#After" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>After</span></a>
|
|
<a href="time.Time.html#AppendFormat" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Append<wbr/>Format</span></a>
|
|
<a href="time.Time.html#Before" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Before</span></a>
|
|
<a href="time.Time.html#Clock" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Clock</span></a>
|
|
<a href="time.Time.html#Compare" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Compare</span></a>
|
|
<a href="time.Time.html#Date" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Date</span></a>
|
|
<a href="time.Time.html#Day" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Day</span></a>
|
|
<a href="time.Time.html#Equal" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Equal</span></a>
|
|
<a href="time.Time.html#Format" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Format</span></a>
|
|
<a href="time.Time.html#GoString" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Go<wbr/>String</span></a>
|
|
<a href="time.Time.html#GobDecode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Gob<wbr/>Decode</span></a>
|
|
<a href="time.Time.html#GobEncode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Gob<wbr/>Encode</span></a>
|
|
<a href="time.Time.html#Hour" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Hour</span></a>
|
|
<a href="time.Time.html#ISOWeek" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>ISOWeek</span></a>
|
|
<a href="time.Time.html#In" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>In</span></a>
|
|
<a href="time.Time.html#IsDST" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>IsDST</span></a>
|
|
<a href="time.Time.html#IsZero" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Is<wbr/>Zero</span></a>
|
|
<a href="time.Time.html#Local" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Local</span></a>
|
|
<a href="time.Time.html#Location" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Location</span></a>
|
|
<a href="time.Time.html#MarshalBinary" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Marshal<wbr/>Binary</span></a>
|
|
<a href="time.Time.html#MarshalJSON" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>MarshalJSON</span></a>
|
|
<a href="time.Time.html#MarshalText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Marshal<wbr/>Text</span></a>
|
|
<a href="time.Time.html#Minute" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Minute</span></a>
|
|
<a href="time.Time.html#Month" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Month</span></a>
|
|
<a href="time.Time.html#Nanosecond" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Nanosecond</span></a>
|
|
<a href="time.Time.html#Round" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Round</span></a>
|
|
<a href="time.Time.html#Second" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Second</span></a>
|
|
<a href="time.Time.html#String" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a>
|
|
<a href="time.Time.html#Sub" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Sub</span></a>
|
|
<a href="time.Time.html#Truncate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Truncate</span></a>
|
|
<a href="time.Time.html#UTC" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>UTC</span></a>
|
|
<a href="time.Time.html#Unix" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix</span></a>
|
|
<a href="time.Time.html#UnixMicro" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Micro</span></a>
|
|
<a href="time.Time.html#UnixMilli" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Milli</span></a>
|
|
<a href="time.Time.html#UnixNano" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Nano</span></a>
|
|
<a href="time.Time.html#UnmarshalBinary" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unmarshal<wbr/>Binary</span></a>
|
|
<a href="time.Time.html#UnmarshalJSON" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>UnmarshalJSON</span></a>
|
|
<a href="time.Time.html#UnmarshalText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unmarshal<wbr/>Text</span></a>
|
|
<a href="time.Time.html#Weekday" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Weekday</span></a>
|
|
<a href="time.Time.html#Year" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Year</span></a>
|
|
<a href="time.Time.html#YearDay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Year<wbr/>Day</span></a>
|
|
<a href="time.Time.html#Zone" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Zone</span></a>
|
|
<a href="time.Time.html#ZoneBounds" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Zone<wbr/>Bounds</span></a>
|
|
</div></section></div></details></section></section>
|
|
<section class="tsd-panel-group tsd-member-group">
|
|
<h2>Methods</h2>
|
|
<section class="tsd-panel tsd-member"><a id="Add" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Add</span><a href="#Add" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Add.Add-1"><span class="tsd-kind-call-signature">Add</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#Add.Add-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Add returns the time t+d.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">d</span>: <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L512">types.d.ts:512</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="AddDate" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Add<wbr/>Date</span><a href="#AddDate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="AddDate.AddDate-1"><span class="tsd-kind-call-signature">Add<wbr/>Date</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">years</span>, <span class="tsd-kind-parameter">months</span>, <span class="tsd-kind-parameter">days</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#AddDate.AddDate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>AddDate returns the time corresponding to adding the
|
|
given number of years, months, and days to t.
|
|
For example, AddDate(-1, 2, 3) applied to January 1, 2011
|
|
returns March 4, 2010.</p>
|
|
<p>Note that dates are fundamentally coupled to timezones, and calendrical
|
|
periods like days don't have fixed durations. AddDate uses the Location of
|
|
the Time value to determine these durations. That means that the same
|
|
AddDate arguments can produce a different shift in absolute time depending on
|
|
the base Time value and its Location. For example, AddDate(0, 0, 1) applied
|
|
to 12:00 on March 27 always returns 12:00 on March 28. At some locations and
|
|
in some years this is a 24 hour shift. In others it's a 23 hour shift due to
|
|
daylight savings time transitions.</p>
|
|
<p>AddDate normalizes its result in the same way that Date does,
|
|
so, for example, adding one month to October 31 yields
|
|
December 1, the normalized form for November 31.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">years</span>: <span class="tsd-signature-type">number</span></h5></li>
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">months</span>: <span class="tsd-signature-type">number</span></h5></li>
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">days</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L543">types.d.ts:543</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="After" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>After</span><a href="#After" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="After.After-1"><span class="tsd-kind-call-signature">After</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#After.After-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>After reports whether the time instant t is after u.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L399">types.d.ts:399</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="AppendFormat" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Append<wbr/>Format</span><a href="#AppendFormat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="AppendFormat.AppendFormat-1"><span class="tsd-kind-call-signature">Append<wbr/>Format</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">b</span>, <span class="tsd-kind-parameter">layout</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#AppendFormat.AppendFormat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>AppendFormat is like [Time.Format] but appends the textual
|
|
representation to b and returns the extended buffer.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">b</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">layout</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L348">types.d.ts:348</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Before" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Before</span><a href="#Before" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Before.Before-1"><span class="tsd-kind-call-signature">Before</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#Before.Before-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Before reports whether the time instant t is before u.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L405">types.d.ts:405</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Clock" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Clock</span><a href="#Clock" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Clock.Clock-1"><span class="tsd-kind-call-signature">Clock</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#Clock.Clock-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Clock returns the hour, minute, and second within the day specified by t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L474">types.d.ts:474</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Compare" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Compare</span><a href="#Compare" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Compare.Compare-1"><span class="tsd-kind-call-signature">Compare</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Compare.Compare-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Compare compares the time instant t with u. If t is before u, it returns -1;
|
|
if t is after u, it returns +1; if they're the same, it returns 0.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L412">types.d.ts:412</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Date" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Date</span><a href="#Date" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Date.Date-1"><span class="tsd-kind-call-signature">Date</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#Date.Date-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Date returns the year, month, and day in which t occurs.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L435">types.d.ts:435</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Day" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Day</span><a href="#Day" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Day.Day-1"><span class="tsd-kind-call-signature">Day</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Day.Day-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Day returns the day of the month specified by t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L453">types.d.ts:453</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Equal" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Equal</span><a href="#Equal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Equal.Equal-1"><span class="tsd-kind-call-signature">Equal</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#Equal.Equal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Equal reports whether t and u represent the same time instant.
|
|
Two times can be equal even if they are in different locations.
|
|
For example, 6:00 +0200 and 4:00 UTC are Equal.
|
|
See the documentation on the Time type for the pitfalls of using == with
|
|
Time values; most code should use Equal instead.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L422">types.d.ts:422</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Format" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Format</span><a href="#Format" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Format.Format-1"><span class="tsd-kind-call-signature">Format</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">layout</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#Format.Format-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Format returns a textual representation of the time value formatted according
|
|
to the layout defined by the argument. See the documentation for the
|
|
constant called [Layout] to see how to represent the layout format.</p>
|
|
<p>The executable example for [Time.Format] demonstrates the working
|
|
of the layout string in detail and is a good reference.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">layout</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L341">types.d.ts:341</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="GoString" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Go<wbr/>String</span><a href="#GoString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="GoString.GoString-1"><span class="tsd-kind-call-signature">Go<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#GoString.GoString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>GoString implements [fmt.GoStringer] and formats t to be printed in Go source
|
|
code.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L330">types.d.ts:330</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="GobDecode" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Gob<wbr/>Decode</span><a href="#GobDecode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="GobDecode.GobDecode-1"><span class="tsd-kind-call-signature">Gob<wbr/>Decode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#GobDecode.GobDecode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>GobDecode implements the gob.GobDecoder interface.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L654">types.d.ts:654</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="GobEncode" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Gob<wbr/>Encode</span><a href="#GobEncode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="GobEncode.GobEncode-1"><span class="tsd-kind-call-signature">Gob<wbr/>Encode</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#GobEncode.GobEncode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>GobEncode implements the gob.GobEncoder interface.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L648">types.d.ts:648</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Hour" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Hour</span><a href="#Hour" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Hour.Hour-1"><span class="tsd-kind-call-signature">Hour</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Hour.Hour-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Hour returns the hour within the day specified by t, in the range [0, 23].</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L480">types.d.ts:480</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="ISOWeek" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>ISOWeek</span><a href="#ISOWeek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="ISOWeek.ISOWeek-1"><span class="tsd-kind-call-signature">ISOWeek</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#ISOWeek.ISOWeek-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>ISOWeek returns the ISO 8601 year and week number in which t occurs.
|
|
Week ranges from 1 to 53. Jan 01 to Jan 03 of year n might belong to
|
|
week 52 or 53 of year n-1, and Dec 29 to Dec 31 might belong to week 1
|
|
of year n+1.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L468">types.d.ts:468</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="In" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>In</span><a href="#In" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="In.In-1"><span class="tsd-kind-call-signature">In</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">loc</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#In.In-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>In returns a copy of t representing the same time instant, but
|
|
with the copy's location information set to loc for display
|
|
purposes.</p>
|
|
<p>In panics if loc is nil.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">loc</span>: <a href="time.Location.html" class="tsd-signature-type tsd-kind-interface">Location</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L565">types.d.ts:565</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="IsDST" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>IsDST</span><a href="#IsDST" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="IsDST.IsDST-1"><span class="tsd-kind-call-signature">IsDST</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsDST.IsDST-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>IsDST reports whether the time in the configured location is in Daylight Savings Time.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L692">types.d.ts:692</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="IsZero" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Is<wbr/>Zero</span><a href="#IsZero" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="IsZero.IsZero-1"><span class="tsd-kind-call-signature">Is<wbr/>Zero</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsZero.IsZero-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>IsZero reports whether t represents the zero time instant,
|
|
January 1, year 1, 00:00:00 UTC.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L429">types.d.ts:429</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Local" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Local</span><a href="#Local" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Local.Local-1"><span class="tsd-kind-call-signature">Local</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#Local.Local-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Local returns t with the location set to local time.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L555">types.d.ts:555</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Location" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Location</span><a href="#Location" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Location.Location-1"><span class="tsd-kind-call-signature">Location</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Location.html" class="tsd-signature-type tsd-kind-interface">Location</a><a href="#Location.Location-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Location returns the time zone information associated with t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Location.html" class="tsd-signature-type tsd-kind-interface">Location</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L571">types.d.ts:571</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="MarshalBinary" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Marshal<wbr/>Binary</span><a href="#MarshalBinary" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="MarshalBinary.MarshalBinary-1"><span class="tsd-kind-call-signature">Marshal<wbr/>Binary</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#MarshalBinary.MarshalBinary-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>MarshalBinary implements the encoding.BinaryMarshaler interface.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L636">types.d.ts:636</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="MarshalJSON" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>MarshalJSON</span><a href="#MarshalJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="MarshalJSON.MarshalJSON-1"><span class="tsd-kind-call-signature">MarshalJSON</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#MarshalJSON.MarshalJSON-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>MarshalJSON implements the [json.Marshaler] interface.
|
|
The time is a quoted string in the RFC 3339 format with sub-second precision.
|
|
If the timestamp cannot be represented as valid RFC 3339
|
|
(e.g., the year is out of range), then an error is reported.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L663">types.d.ts:663</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="MarshalText" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Marshal<wbr/>Text</span><a href="#MarshalText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="MarshalText.MarshalText-1"><span class="tsd-kind-call-signature">Marshal<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#MarshalText.MarshalText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>MarshalText implements the [encoding.TextMarshaler] interface.
|
|
The time is formatted in RFC 3339 format with sub-second precision.
|
|
If the timestamp cannot be represented as valid RFC 3339
|
|
(e.g., the year is out of range), then an error is reported.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L679">types.d.ts:679</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Minute" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Minute</span><a href="#Minute" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Minute.Minute-1"><span class="tsd-kind-call-signature">Minute</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Minute.Minute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Minute returns the minute offset within the hour specified by t, in the range [0, 59].</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L486">types.d.ts:486</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Month" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Month</span><a href="#Month" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Month.Month-1"><span class="tsd-kind-call-signature">Month</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a><a href="#Month.Month-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Month returns the month of the year specified by t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L447">types.d.ts:447</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Nanosecond" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Nanosecond</span><a href="#Nanosecond" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Nanosecond.Nanosecond-1"><span class="tsd-kind-call-signature">Nanosecond</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Nanosecond.Nanosecond-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Nanosecond returns the nanosecond offset within the second specified by t,
|
|
in the range [0, 999999999].</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L499">types.d.ts:499</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Round" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Round</span><a href="#Round" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Round.Round-1"><span class="tsd-kind-call-signature">Round</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#Round.Round-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Round returns the result of rounding t to the nearest multiple of d (since the zero time).
|
|
The rounding behavior for halfway values is to round up.
|
|
If d <= 0, Round returns t stripped of any monotonic clock reading but otherwise unchanged.</p>
|
|
<p>Round operates on the time as an absolute duration since the
|
|
zero time; it does not operate on the presentation form of the
|
|
time. Thus, Round(Hour) may return a time with a non-zero
|
|
minute, depending on the time's Location.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">d</span>: <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L717">types.d.ts:717</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Second" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Second</span><a href="#Second" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Second.Second-1"><span class="tsd-kind-call-signature">Second</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Second.Second-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Second returns the second offset within the minute specified by t, in the range [0, 59].</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L492">types.d.ts:492</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="String" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>String</span><a href="#String" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="String.String-1"><span class="tsd-kind-call-signature">String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#String.String-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>String returns the time formatted using the format string</p>
|
|
<pre><code><span class="hl-1"> </span><span class="hl-2">"2006-01-02 15:04:05.999999999 -0700 MST"</span>
|
|
</code><button>Copy</button></pre>
|
|
<p>If the time has a monotonic clock reading, the returned string
|
|
includes a final field "m=±<value>", where value is the monotonic
|
|
clock reading formatted as a decimal number of seconds.</p>
|
|
<p>The returned string is meant for debugging; for a stable serialized
|
|
representation, use t.MarshalText, t.MarshalBinary, or t.Format
|
|
with an explicit format string.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L323">types.d.ts:323</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Sub" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Sub</span><a href="#Sub" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Sub.Sub-1"><span class="tsd-kind-call-signature">Sub</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">u</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a><a href="#Sub.Sub-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Sub returns the duration t-u. If the result exceeds the maximum (or minimum)
|
|
value that can be stored in a [Duration], the maximum (or minimum) duration
|
|
will be returned.
|
|
To compute t-d for a duration d, use t.Add(-d).</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">u</span>: <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L521">types.d.ts:521</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Truncate" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Truncate</span><a href="#Truncate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Truncate.Truncate-1"><span class="tsd-kind-call-signature">Truncate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#Truncate.Truncate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Truncate returns the result of rounding t down to a multiple of d (since the zero time).
|
|
If d <= 0, Truncate returns t stripped of any monotonic clock reading but otherwise unchanged.</p>
|
|
<p>Truncate operates on the time as an absolute duration since the
|
|
zero time; it does not operate on the presentation form of the
|
|
time. Thus, Truncate(Hour) may return a time with a non-zero
|
|
minute, depending on the time's Location.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">d</span>: <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L704">types.d.ts:704</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="UTC" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>UTC</span><a href="#UTC" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="UTC.UTC-1"><span class="tsd-kind-call-signature">UTC</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><a href="#UTC.UTC-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>UTC returns t with the location set to UTC.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L549">types.d.ts:549</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Unix" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Unix</span><a href="#Unix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Unix.Unix-1"><span class="tsd-kind-call-signature">Unix</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Unix.Unix-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Unix returns t as a Unix time, the number of seconds elapsed
|
|
since January 1, 1970 UTC. The result does not depend on the
|
|
location associated with t.
|
|
Unix-like operating systems often record time as a 32-bit
|
|
count of seconds, but since the method here returns a 64-bit
|
|
value it is valid for billions of years into the past or future.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L599">types.d.ts:599</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="UnixMicro" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Unix<wbr/>Micro</span><a href="#UnixMicro" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="UnixMicro.UnixMicro-1"><span class="tsd-kind-call-signature">Unix<wbr/>Micro</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#UnixMicro.UnixMicro-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>UnixMicro returns t as a Unix time, the number of microseconds elapsed since
|
|
January 1, 1970 UTC. The result is undefined if the Unix time in
|
|
microseconds cannot be represented by an int64 (a date before year -290307 or
|
|
after year 294246). The result does not depend on the location associated
|
|
with t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L619">types.d.ts:619</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="UnixMilli" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Unix<wbr/>Milli</span><a href="#UnixMilli" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="UnixMilli.UnixMilli-1"><span class="tsd-kind-call-signature">Unix<wbr/>Milli</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#UnixMilli.UnixMilli-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>UnixMilli returns t as a Unix time, the number of milliseconds elapsed since
|
|
January 1, 1970 UTC. The result is undefined if the Unix time in
|
|
milliseconds cannot be represented by an int64 (a date more than 292 million
|
|
years before or after 1970). The result does not depend on the
|
|
location associated with t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L609">types.d.ts:609</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="UnixNano" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Unix<wbr/>Nano</span><a href="#UnixNano" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="UnixNano.UnixNano-1"><span class="tsd-kind-call-signature">Unix<wbr/>Nano</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#UnixNano.UnixNano-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>UnixNano returns t as a Unix time, the number of nanoseconds elapsed
|
|
since January 1, 1970 UTC. The result is undefined if the Unix time
|
|
in nanoseconds cannot be represented by an int64 (a date before the year
|
|
1678 or after 2262). Note that this means the result of calling UnixNano
|
|
on the zero Time is undefined. The result does not depend on the
|
|
location associated with t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L630">types.d.ts:630</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="UnmarshalBinary" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Unmarshal<wbr/>Binary</span><a href="#UnmarshalBinary" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="UnmarshalBinary.UnmarshalBinary-1"><span class="tsd-kind-call-signature">Unmarshal<wbr/>Binary</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#UnmarshalBinary.UnmarshalBinary-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>UnmarshalBinary implements the encoding.BinaryUnmarshaler interface.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L642">types.d.ts:642</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="UnmarshalJSON" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>UnmarshalJSON</span><a href="#UnmarshalJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="UnmarshalJSON.UnmarshalJSON-1"><span class="tsd-kind-call-signature">UnmarshalJSON</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#UnmarshalJSON.UnmarshalJSON-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>UnmarshalJSON implements the [json.Unmarshaler] interface.
|
|
The time must be a quoted string in the RFC 3339 format.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L670">types.d.ts:670</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="UnmarshalText" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Unmarshal<wbr/>Text</span><a href="#UnmarshalText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="UnmarshalText.UnmarshalText-1"><span class="tsd-kind-call-signature">Unmarshal<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#UnmarshalText.UnmarshalText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>UnmarshalText implements the [encoding.TextUnmarshaler] interface.
|
|
The time must be in the RFC 3339 format.</p>
|
|
</div>
|
|
<div class="tsd-parameters">
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameter-list">
|
|
<li>
|
|
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L686">types.d.ts:686</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Weekday" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Weekday</span><a href="#Weekday" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Weekday.Weekday-1"><span class="tsd-kind-call-signature">Weekday</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="time.Weekday.html" class="tsd-signature-type tsd-kind-interface">Weekday</a><a href="#Weekday.Weekday-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Weekday returns the day of the week specified by t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <a href="time.Weekday.html" class="tsd-signature-type tsd-kind-interface">Weekday</a></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L459">types.d.ts:459</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Year" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Year</span><a href="#Year" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Year.Year-1"><span class="tsd-kind-call-signature">Year</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#Year.Year-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Year returns the year in which t occurs.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L441">types.d.ts:441</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="YearDay" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Year<wbr/>Day</span><a href="#YearDay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="YearDay.YearDay-1"><span class="tsd-kind-call-signature">Year<wbr/>Day</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#YearDay.YearDay-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>YearDay returns the day of the year specified by t, in the range [1,365] for non-leap years,
|
|
and [1,366] in leap years.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L506">types.d.ts:506</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="Zone" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Zone</span><a href="#Zone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="Zone.Zone-1"><span class="tsd-kind-call-signature">Zone</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#Zone.Zone-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>Zone computes the time zone in effect at time t, returning the abbreviated
|
|
name of the zone (such as "CET") and its offset in seconds east of UTC.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L578">types.d.ts:578</a></li></ul></aside></li></ul></section>
|
|
<section class="tsd-panel tsd-member"><a id="ZoneBounds" class="tsd-anchor"></a>
|
|
<h3 class="tsd-anchor-link"><span>Zone<wbr/>Bounds</span><a href="#ZoneBounds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
<ul class="tsd-signatures">
|
|
<li class="tsd-signature tsd-anchor-link" id="ZoneBounds.ZoneBounds-1"><span class="tsd-kind-call-signature">Zone<wbr/>Bounds</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><span class="tsd-signature-symbol">, </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><span class="tsd-signature-symbol">]</span><a href="#ZoneBounds.ZoneBounds-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
<li class="tsd-description">
|
|
<div class="tsd-comment tsd-typography"><p>ZoneBounds returns the bounds of the time zone in effect at time t.
|
|
The zone begins at start and the next zone begins at end.
|
|
If the zone begins at the beginning of time, start will be returned as a zero Time.
|
|
If the zone goes on forever, end will be returned as a zero Time.
|
|
The Location of the returned times will be the same as t.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><span class="tsd-signature-symbol">, </span><a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a><span class="tsd-signature-symbol">]</span></h4>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L588">types.d.ts:588</a></li></ul></aside></li></ul></section></section></div>
|
|
<div class="col-sidebar">
|
|
<div class="page-menu">
|
|
<div class="tsd-navigation settings">
|
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
|
<div class="tsd-accordion-details">
|
|
<div class="tsd-filter-visibility">
|
|
<h4 class="uppercase">Member Visibility</h4><form>
|
|
<ul id="tsd-filter-options">
|
|
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
|
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
|
<div class="tsd-theme-toggle">
|
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
|
<div class="tsd-accordion-details">
|
|
<ul>
|
|
<li><a href="#Add" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Add</span></a></li>
|
|
<li><a href="#AddDate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Add<wbr/>Date</span></a></li>
|
|
<li><a href="#After" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>After</span></a></li>
|
|
<li><a href="#AppendFormat" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Append<wbr/>Format</span></a></li>
|
|
<li><a href="#Before" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Before</span></a></li>
|
|
<li><a href="#Clock" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Clock</span></a></li>
|
|
<li><a href="#Compare" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Compare</span></a></li>
|
|
<li><a href="#Date" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Date</span></a></li>
|
|
<li><a href="#Day" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Day</span></a></li>
|
|
<li><a href="#Equal" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Equal</span></a></li>
|
|
<li><a href="#Format" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Format</span></a></li>
|
|
<li><a href="#GoString" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Go<wbr/>String</span></a></li>
|
|
<li><a href="#GobDecode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Gob<wbr/>Decode</span></a></li>
|
|
<li><a href="#GobEncode" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Gob<wbr/>Encode</span></a></li>
|
|
<li><a href="#Hour" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Hour</span></a></li>
|
|
<li><a href="#ISOWeek" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>ISOWeek</span></a></li>
|
|
<li><a href="#In" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>In</span></a></li>
|
|
<li><a href="#IsDST" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>IsDST</span></a></li>
|
|
<li><a href="#IsZero" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Is<wbr/>Zero</span></a></li>
|
|
<li><a href="#Local" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Local</span></a></li>
|
|
<li><a href="#Location" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Location</span></a></li>
|
|
<li><a href="#MarshalBinary" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Marshal<wbr/>Binary</span></a></li>
|
|
<li><a href="#MarshalJSON" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>MarshalJSON</span></a></li>
|
|
<li><a href="#MarshalText" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Marshal<wbr/>Text</span></a></li>
|
|
<li><a href="#Minute" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Minute</span></a></li>
|
|
<li><a href="#Month" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Month</span></a></li>
|
|
<li><a href="#Nanosecond" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Nanosecond</span></a></li>
|
|
<li><a href="#Round" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Round</span></a></li>
|
|
<li><a href="#Second" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Second</span></a></li>
|
|
<li><a href="#String" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>String</span></a></li>
|
|
<li><a href="#Sub" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Sub</span></a></li>
|
|
<li><a href="#Truncate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Truncate</span></a></li>
|
|
<li><a href="#UTC" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>UTC</span></a></li>
|
|
<li><a href="#Unix" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix</span></a></li>
|
|
<li><a href="#UnixMicro" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Micro</span></a></li>
|
|
<li><a href="#UnixMilli" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Milli</span></a></li>
|
|
<li><a href="#UnixNano" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unix<wbr/>Nano</span></a></li>
|
|
<li><a href="#UnmarshalBinary" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unmarshal<wbr/>Binary</span></a></li>
|
|
<li><a href="#UnmarshalJSON" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>UnmarshalJSON</span></a></li>
|
|
<li><a href="#UnmarshalText" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Unmarshal<wbr/>Text</span></a></li>
|
|
<li><a href="#Weekday" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Weekday</span></a></li>
|
|
<li><a href="#Year" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Year</span></a></li>
|
|
<li><a href="#YearDay" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Year<wbr/>Day</span></a></li>
|
|
<li><a href="#Zone" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Zone</span></a></li>
|
|
<li><a href="#ZoneBounds" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>Zone<wbr/>Bounds</span></a></li></ul></div></details></div>
|
|
<div class="site-menu">
|
|
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Documentation</span></a>
|
|
<ul class="tsd-small-nested-navigation">
|
|
<li><a href="../modules/a.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>a</span></a></li>
|
|
<li><a href="../modules/b.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>b</span></a></li>
|
|
<li><a href="../modules/c.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>c</span></a></li>
|
|
<li>
|
|
<details class="tsd-index-accordion" open data-key="time"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/time.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>time</span></a></summary>
|
|
<div class="tsd-accordion-details">
|
|
<ul class="tsd-nested-navigation">
|
|
<li><a href="time.Duration.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Duration</span></a></li>
|
|
<li><a href="time.Location.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Location</span></a></li>
|
|
<li><a href="time.Month.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Month</span></a></li>
|
|
<li><a href="time.Time.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Time</span></a></li>
|
|
<li><a href="time.Weekday.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Weekday</span></a></li></ul></div></details></li>
|
|
<li><a href="../types/_TygojaAny.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>_<wbr/>Tygoja<wbr/>Any</span></a></li>
|
|
<li><a href="../types/_TygojaDict.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>_<wbr/>Tygoja<wbr/>Dict</span></a></li>
|
|
<li><a href="../functions/_app.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>$app</span></a></li></ul></nav></div></div></div>
|
|
<div class="tsd-generator">
|
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
<div class="overlay"></div></body></html> |