Debian Codegraph @

test/htmldocs/interfaces/time.Time.html

raw
1 <!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">
2 <div class="tsd-toolbar-contents container">
3 <div class="table-cell" id="tsd-search" data-base="..">
4 <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>
5 <div class="field">
6 <div id="tsd-toolbar-links"></div></div>
7 <ul class="results">
8 <li class="state loading">Preparing search index...</li>
9 <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div>
10 <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>
11 <div class="container container-main">
12 <div class="col-content">
13 <div class="tsd-page-title">
14 <ul class="tsd-breadcrumb">
15 <li><a href="../modules.html">Documentation</a></li>
16 <li><a href="../modules/time.html">time</a></li>
17 <li><a href="time.Time.html">Time</a></li></ul>
18 <h1>Interface Time</h1></div>
19 <section class="tsd-panel tsd-comment">
20 <div class="tsd-comment tsd-typography"><p>A Time represents an instant in time with nanosecond precision.</p>
21 <p>Programs using times should typically store and pass them as values,
22 not pointers. That is, time variables and struct fields should be of
23 type [time.Time], not *time.Time.</p>
24 <p>A Time value can be used by multiple goroutines simultaneously except
25 that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and
26 [Time.UnmarshalText] are not concurrency-safe.</p>
27 <p>Time instants can be compared using the [Time.Before], [Time.After], and [Time.Equal] methods.
28 The [Time.Sub] method subtracts two instants, producing a [Duration].
29 The [Time.Add] method adds a Time and a Duration, producing a Time.</p>
30 <p>The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC.
31 As this time is unlikely to come up in practice, the [Time.IsZero] method gives
32 a simple way of detecting a time that has not been initialized explicitly.</p>
33 <p>Each time has an associated [Location]. The methods [Time.Local], [Time.UTC], and Time.In return a
34 Time with a specific Location. Changing the Location of a Time value with
35 these methods does not change the actual instant it represents, only the time
36 zone in which to interpret it.</p>
37 <p>Representations of a Time value saved by the [Time.GobEncode], [Time.MarshalBinary],
38 [Time.MarshalJSON], and [Time.MarshalText] methods store the [Time.Location]&#39;s offset, but not
39 the location name. They therefore lose information about Daylight Saving Time.</p>
40 <p>In addition to the required “wall clock” reading, a Time may contain an optional
41 reading of the current process&#39;s monotonic clock, to provide additional precision
42 for comparison or subtraction.
43 See the “Monotonic Clocks” section in the package documentation for details.</p>
44 <p>Note that the Go == operator compares not just the time instant but also the
45 Location and the monotonic clock reading. Therefore, Time values should not
46 be used as map or database keys without first guaranteeing that the
47 identical Location has been set for all values, which can be achieved
48 through use of the UTC or Local method, and that the monotonic clock reading
49 has been stripped by setting t = t.Round(0). In general, prefer t.Equal(u)
50 to t == u, since t.Equal uses the most accurate comparison available and
51 correctly handles the case when only one of its arguments has a monotonic
52 clock reading.</p>
53 </div>
54 <div class="tsd-comment tsd-typography"></div></section>
55 <section class="tsd-panel tsd-hierarchy">
56 <h4>Hierarchy</h4>
57 <ul class="tsd-hierarchy">
58 <li><span class="target">Time</span></li></ul></section><aside class="tsd-sources">
59 <ul>
60 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L307">types.d.ts:307</a></li>
61 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L325">types.d.ts:325</a></li>
62 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L332">types.d.ts:332</a></li>
63 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L343">types.d.ts:343</a></li>
64 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L393">types.d.ts:393</a></li>
65 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L395">types.d.ts:395</a></li>
66 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L401">types.d.ts:401</a></li>
67 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L407">types.d.ts:407</a></li>
68 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L414">types.d.ts:414</a></li>
69 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L424">types.d.ts:424</a></li>
70 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L431">types.d.ts:431</a></li>
71 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L437">types.d.ts:437</a></li>
72 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L443">types.d.ts:443</a></li>
73 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L449">types.d.ts:449</a></li>
74 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L455">types.d.ts:455</a></li>
75 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L461">types.d.ts:461</a></li>
76 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L470">types.d.ts:470</a></li>
77 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L476">types.d.ts:476</a></li>
78 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L482">types.d.ts:482</a></li>
79 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L488">types.d.ts:488</a></li>
80 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L494">types.d.ts:494</a></li>
81 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L501">types.d.ts:501</a></li>
82 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L508">types.d.ts:508</a></li>
83 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L514">types.d.ts:514</a></li>
84 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L523">types.d.ts:523</a></li>
85 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L545">types.d.ts:545</a></li>
86 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L551">types.d.ts:551</a></li>
87 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L557">types.d.ts:557</a></li>
88 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L567">types.d.ts:567</a></li>
89 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L573">types.d.ts:573</a></li>
90 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L580">types.d.ts:580</a></li>
91 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L590">types.d.ts:590</a></li>
92 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L601">types.d.ts:601</a></li>
93 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L611">types.d.ts:611</a></li>
94 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L621">types.d.ts:621</a></li>
95 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L632">types.d.ts:632</a></li>
96 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L638">types.d.ts:638</a></li>
97 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L644">types.d.ts:644</a></li>
98 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L650">types.d.ts:650</a></li>
99 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L656">types.d.ts:656</a></li>
100 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L665">types.d.ts:665</a></li>
101 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L672">types.d.ts:672</a></li>
102 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L681">types.d.ts:681</a></li>
103 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L688">types.d.ts:688</a></li>
104 <li>Defined in <a href="https://github.com/pocketbase/tygoja/blob/1791847/test/types.d.ts#L694">types.d.ts:694</a></li>
105 <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>
106 <section class="tsd-panel-group tsd-index-group">
107 <section class="tsd-panel tsd-index-panel">
108 <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
109 <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>
110 <div class="tsd-accordion-details">
111 <section class="tsd-index-section">
112 <h3 class="tsd-index-heading">Methods</h3>
113 <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>
114 <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>
115 <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>
116 <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>
117 <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>
118 <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>
119 <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>
120 <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>
121 <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>
122 <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>
123 <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>
124 <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>
125 <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>
126 <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>
127 <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>
128 <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>
129 <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>
130 <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>
131 <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>
132 <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>
133 <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>
134 <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>
135 <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>
136 <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>
137 <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>
138 <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>
139 <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>
140 <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>
141 <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>
142 <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>
143 <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>
144 <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>
145 <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>
146 <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>
147 <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>
148 <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>
149 <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>
150 <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>
151 <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>
152 <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>
153 <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>
154 <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>
155 <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>
156 <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>
157 <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>
158 </div></section></div></details></section></section>
159 <section class="tsd-panel-group tsd-member-group">
160 <h2>Methods</h2>
161 <section class="tsd-panel tsd-member"><a id="Add" class="tsd-anchor"></a>
162 <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>
163 <ul class="tsd-signatures">
164 <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>
165 <li class="tsd-description">
166 <div class="tsd-comment tsd-typography"><p>Add returns the time t+d.</p>
167 </div>
168 <div class="tsd-parameters">
169 <h4 class="tsd-parameters-title">Parameters</h4>
170 <ul class="tsd-parameter-list">
171 <li>
172 <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>
173 <h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
174 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
175 <ul>
176 <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>
177 <section class="tsd-panel tsd-member"><a id="AddDate" class="tsd-anchor"></a>
178 <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>
179 <ul class="tsd-signatures">
180 <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>
181 <li class="tsd-description">
182 <div class="tsd-comment tsd-typography"><p>AddDate returns the time corresponding to adding the
183 given number of years, months, and days to t.
184 For example, AddDate(-1, 2, 3) applied to January 1, 2011
185 returns March 4, 2010.</p>
186 <p>Note that dates are fundamentally coupled to timezones, and calendrical
187 periods like days don&#39;t have fixed durations. AddDate uses the Location of
188 the Time value to determine these durations. That means that the same
189 AddDate arguments can produce a different shift in absolute time depending on
190 the base Time value and its Location. For example, AddDate(0, 0, 1) applied
191 to 12:00 on March 27 always returns 12:00 on March 28. At some locations and
192 in some years this is a 24 hour shift. In others it&#39;s a 23 hour shift due to
193 daylight savings time transitions.</p>
194 <p>AddDate normalizes its result in the same way that Date does,
195 so, for example, adding one month to October 31 yields
196 December 1, the normalized form for November 31.</p>
197 </div>
198 <div class="tsd-parameters">
199 <h4 class="tsd-parameters-title">Parameters</h4>
200 <ul class="tsd-parameter-list">
201 <li>
202 <h5><span class="tsd-kind-parameter">years</span>: <span class="tsd-signature-type">number</span></h5></li>
203 <li>
204 <h5><span class="tsd-kind-parameter">months</span>: <span class="tsd-signature-type">number</span></h5></li>
205 <li>
206 <h5><span class="tsd-kind-parameter">days</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
207 <h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
208 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
209 <ul>
210 <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>
211 <section class="tsd-panel tsd-member"><a id="After" class="tsd-anchor"></a>
212 <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>
213 <ul class="tsd-signatures">
214 <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>
215 <li class="tsd-description">
216 <div class="tsd-comment tsd-typography"><p>After reports whether the time instant t is after u.</p>
217 </div>
218 <div class="tsd-parameters">
219 <h4 class="tsd-parameters-title">Parameters</h4>
220 <ul class="tsd-parameter-list">
221 <li>
222 <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>
223 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
224 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
225 <ul>
226 <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>
227 <section class="tsd-panel tsd-member"><a id="AppendFormat" class="tsd-anchor"></a>
228 <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>
229 <ul class="tsd-signatures">
230 <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>
231 <li class="tsd-description">
232 <div class="tsd-comment tsd-typography"><p>AppendFormat is like [Time.Format] but appends the textual
233 representation to b and returns the extended buffer.</p>
234 </div>
235 <div class="tsd-parameters">
236 <h4 class="tsd-parameters-title">Parameters</h4>
237 <ul class="tsd-parameter-list">
238 <li>
239 <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>
240 <li>
241 <h5><span class="tsd-kind-parameter">layout</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
242 <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>
243 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
244 <ul>
245 <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>
246 <section class="tsd-panel tsd-member"><a id="Before" class="tsd-anchor"></a>
247 <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>
248 <ul class="tsd-signatures">
249 <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>
250 <li class="tsd-description">
251 <div class="tsd-comment tsd-typography"><p>Before reports whether the time instant t is before u.</p>
252 </div>
253 <div class="tsd-parameters">
254 <h4 class="tsd-parameters-title">Parameters</h4>
255 <ul class="tsd-parameter-list">
256 <li>
257 <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>
258 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
259 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
260 <ul>
261 <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>
262 <section class="tsd-panel tsd-member"><a id="Clock" class="tsd-anchor"></a>
263 <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>
264 <ul class="tsd-signatures">
265 <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>
266 <li class="tsd-description">
267 <div class="tsd-comment tsd-typography"><p>Clock returns the hour, minute, and second within the day specified by t.</p>
268 </div>
269 <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>
270 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
271 <ul>
272 <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>
273 <section class="tsd-panel tsd-member"><a id="Compare" class="tsd-anchor"></a>
274 <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>
275 <ul class="tsd-signatures">
276 <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>
277 <li class="tsd-description">
278 <div class="tsd-comment tsd-typography"><p>Compare compares the time instant t with u. If t is before u, it returns -1;
279 if t is after u, it returns +1; if they&#39;re the same, it returns 0.</p>
280 </div>
281 <div class="tsd-parameters">
282 <h4 class="tsd-parameters-title">Parameters</h4>
283 <ul class="tsd-parameter-list">
284 <li>
285 <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>
286 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
287 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
288 <ul>
289 <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>
290 <section class="tsd-panel tsd-member"><a id="Date" class="tsd-anchor"></a>
291 <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>
292 <ul class="tsd-signatures">
293 <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>
294 <li class="tsd-description">
295 <div class="tsd-comment tsd-typography"><p>Date returns the year, month, and day in which t occurs.</p>
296 </div>
297 <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>
298 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
299 <ul>
300 <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>
301 <section class="tsd-panel tsd-member"><a id="Day" class="tsd-anchor"></a>
302 <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>
303 <ul class="tsd-signatures">
304 <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>
305 <li class="tsd-description">
306 <div class="tsd-comment tsd-typography"><p>Day returns the day of the month specified by t.</p>
307 </div>
308 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
309 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
310 <ul>
311 <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>
312 <section class="tsd-panel tsd-member"><a id="Equal" class="tsd-anchor"></a>
313 <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>
314 <ul class="tsd-signatures">
315 <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>
316 <li class="tsd-description">
317 <div class="tsd-comment tsd-typography"><p>Equal reports whether t and u represent the same time instant.
318 Two times can be equal even if they are in different locations.
319 For example, 6:00 +0200 and 4:00 UTC are Equal.
320 See the documentation on the Time type for the pitfalls of using == with
321 Time values; most code should use Equal instead.</p>
322 </div>
323 <div class="tsd-parameters">
324 <h4 class="tsd-parameters-title">Parameters</h4>
325 <ul class="tsd-parameter-list">
326 <li>
327 <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>
328 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
329 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
330 <ul>
331 <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>
332 <section class="tsd-panel tsd-member"><a id="Format" class="tsd-anchor"></a>
333 <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>
334 <ul class="tsd-signatures">
335 <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>
336 <li class="tsd-description">
337 <div class="tsd-comment tsd-typography"><p>Format returns a textual representation of the time value formatted according
338 to the layout defined by the argument. See the documentation for the
339 constant called [Layout] to see how to represent the layout format.</p>
340 <p>The executable example for [Time.Format] demonstrates the working
341 of the layout string in detail and is a good reference.</p>
342 </div>
343 <div class="tsd-parameters">
344 <h4 class="tsd-parameters-title">Parameters</h4>
345 <ul class="tsd-parameter-list">
346 <li>
347 <h5><span class="tsd-kind-parameter">layout</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
348 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
349 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
350 <ul>
351 <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>
352 <section class="tsd-panel tsd-member"><a id="GoString" class="tsd-anchor"></a>
353 <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>
354 <ul class="tsd-signatures">
355 <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>
356 <li class="tsd-description">
357 <div class="tsd-comment tsd-typography"><p>GoString implements [fmt.GoStringer] and formats t to be printed in Go source
358 code.</p>
359 </div>
360 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
361 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
362 <ul>
363 <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>
364 <section class="tsd-panel tsd-member"><a id="GobDecode" class="tsd-anchor"></a>
365 <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>
366 <ul class="tsd-signatures">
367 <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>
368 <li class="tsd-description">
369 <div class="tsd-comment tsd-typography"><p>GobDecode implements the gob.GobDecoder interface.</p>
370 </div>
371 <div class="tsd-parameters">
372 <h4 class="tsd-parameters-title">Parameters</h4>
373 <ul class="tsd-parameter-list">
374 <li>
375 <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>
376 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
377 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
378 <ul>
379 <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>
380 <section class="tsd-panel tsd-member"><a id="GobEncode" class="tsd-anchor"></a>
381 <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>
382 <ul class="tsd-signatures">
383 <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>
384 <li class="tsd-description">
385 <div class="tsd-comment tsd-typography"><p>GobEncode implements the gob.GobEncoder interface.</p>
386 </div>
387 <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>
388 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
389 <ul>
390 <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>
391 <section class="tsd-panel tsd-member"><a id="Hour" class="tsd-anchor"></a>
392 <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>
393 <ul class="tsd-signatures">
394 <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>
395 <li class="tsd-description">
396 <div class="tsd-comment tsd-typography"><p>Hour returns the hour within the day specified by t, in the range [0, 23].</p>
397 </div>
398 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
399 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
400 <ul>
401 <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>
402 <section class="tsd-panel tsd-member"><a id="ISOWeek" class="tsd-anchor"></a>
403 <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>
404 <ul class="tsd-signatures">
405 <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>
406 <li class="tsd-description">
407 <div class="tsd-comment tsd-typography"><p>ISOWeek returns the ISO 8601 year and week number in which t occurs.
408 Week ranges from 1 to 53. Jan 01 to Jan 03 of year n might belong to
409 week 52 or 53 of year n-1, and Dec 29 to Dec 31 might belong to week 1
410 of year n+1.</p>
411 </div>
412 <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>
413 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
414 <ul>
415 <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>
416 <section class="tsd-panel tsd-member"><a id="In" class="tsd-anchor"></a>
417 <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>
418 <ul class="tsd-signatures">
419 <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>
420 <li class="tsd-description">
421 <div class="tsd-comment tsd-typography"><p>In returns a copy of t representing the same time instant, but
422 with the copy&#39;s location information set to loc for display
423 purposes.</p>
424 <p>In panics if loc is nil.</p>
425 </div>
426 <div class="tsd-parameters">
427 <h4 class="tsd-parameters-title">Parameters</h4>
428 <ul class="tsd-parameter-list">
429 <li>
430 <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>
431 <h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
432 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
433 <ul>
434 <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>
435 <section class="tsd-panel tsd-member"><a id="IsDST" class="tsd-anchor"></a>
436 <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>
437 <ul class="tsd-signatures">
438 <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>
439 <li class="tsd-description">
440 <div class="tsd-comment tsd-typography"><p>IsDST reports whether the time in the configured location is in Daylight Savings Time.</p>
441 </div>
442 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
443 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
444 <ul>
445 <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>
446 <section class="tsd-panel tsd-member"><a id="IsZero" class="tsd-anchor"></a>
447 <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>
448 <ul class="tsd-signatures">
449 <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>
450 <li class="tsd-description">
451 <div class="tsd-comment tsd-typography"><p>IsZero reports whether t represents the zero time instant,
452 January 1, year 1, 00:00:00 UTC.</p>
453 </div>
454 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
455 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
456 <ul>
457 <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>
458 <section class="tsd-panel tsd-member"><a id="Local" class="tsd-anchor"></a>
459 <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>
460 <ul class="tsd-signatures">
461 <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>
462 <li class="tsd-description">
463 <div class="tsd-comment tsd-typography"><p>Local returns t with the location set to local time.</p>
464 </div>
465 <h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
466 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
467 <ul>
468 <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>
469 <section class="tsd-panel tsd-member"><a id="Location" class="tsd-anchor"></a>
470 <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>
471 <ul class="tsd-signatures">
472 <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>
473 <li class="tsd-description">
474 <div class="tsd-comment tsd-typography"><p>Location returns the time zone information associated with t.</p>
475 </div>
476 <h4 class="tsd-returns-title">Returns <a href="time.Location.html" class="tsd-signature-type tsd-kind-interface">Location</a></h4>
477 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
478 <ul>
479 <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>
480 <section class="tsd-panel tsd-member"><a id="MarshalBinary" class="tsd-anchor"></a>
481 <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>
482 <ul class="tsd-signatures">
483 <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>
484 <li class="tsd-description">
485 <div class="tsd-comment tsd-typography"><p>MarshalBinary implements the encoding.BinaryMarshaler interface.</p>
486 </div>
487 <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>
488 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
489 <ul>
490 <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>
491 <section class="tsd-panel tsd-member"><a id="MarshalJSON" class="tsd-anchor"></a>
492 <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>
493 <ul class="tsd-signatures">
494 <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>
495 <li class="tsd-description">
496 <div class="tsd-comment tsd-typography"><p>MarshalJSON implements the [json.Marshaler] interface.
497 The time is a quoted string in the RFC 3339 format with sub-second precision.
498 If the timestamp cannot be represented as valid RFC 3339
499 (e.g., the year is out of range), then an error is reported.</p>
500 </div>
501 <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>
502 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
503 <ul>
504 <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>
505 <section class="tsd-panel tsd-member"><a id="MarshalText" class="tsd-anchor"></a>
506 <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>
507 <ul class="tsd-signatures">
508 <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>
509 <li class="tsd-description">
510 <div class="tsd-comment tsd-typography"><p>MarshalText implements the [encoding.TextMarshaler] interface.
511 The time is formatted in RFC 3339 format with sub-second precision.
512 If the timestamp cannot be represented as valid RFC 3339
513 (e.g., the year is out of range), then an error is reported.</p>
514 </div>
515 <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>
516 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
517 <ul>
518 <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>
519 <section class="tsd-panel tsd-member"><a id="Minute" class="tsd-anchor"></a>
520 <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>
521 <ul class="tsd-signatures">
522 <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>
523 <li class="tsd-description">
524 <div class="tsd-comment tsd-typography"><p>Minute returns the minute offset within the hour specified by t, in the range [0, 59].</p>
525 </div>
526 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
527 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
528 <ul>
529 <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>
530 <section class="tsd-panel tsd-member"><a id="Month" class="tsd-anchor"></a>
531 <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>
532 <ul class="tsd-signatures">
533 <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>
534 <li class="tsd-description">
535 <div class="tsd-comment tsd-typography"><p>Month returns the month of the year specified by t.</p>
536 </div>
537 <h4 class="tsd-returns-title">Returns <a href="time.Month.html" class="tsd-signature-type tsd-kind-interface">Month</a></h4>
538 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
539 <ul>
540 <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>
541 <section class="tsd-panel tsd-member"><a id="Nanosecond" class="tsd-anchor"></a>
542 <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>
543 <ul class="tsd-signatures">
544 <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>
545 <li class="tsd-description">
546 <div class="tsd-comment tsd-typography"><p>Nanosecond returns the nanosecond offset within the second specified by t,
547 in the range [0, 999999999].</p>
548 </div>
549 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
550 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
551 <ul>
552 <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>
553 <section class="tsd-panel tsd-member"><a id="Round" class="tsd-anchor"></a>
554 <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>
555 <ul class="tsd-signatures">
556 <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>
557 <li class="tsd-description">
558 <div class="tsd-comment tsd-typography"><p>Round returns the result of rounding t to the nearest multiple of d (since the zero time).
559 The rounding behavior for halfway values is to round up.
560 If d &lt;= 0, Round returns t stripped of any monotonic clock reading but otherwise unchanged.</p>
561 <p>Round operates on the time as an absolute duration since the
562 zero time; it does not operate on the presentation form of the
563 time. Thus, Round(Hour) may return a time with a non-zero
564 minute, depending on the time&#39;s Location.</p>
565 </div>
566 <div class="tsd-parameters">
567 <h4 class="tsd-parameters-title">Parameters</h4>
568 <ul class="tsd-parameter-list">
569 <li>
570 <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>
571 <h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
572 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
573 <ul>
574 <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>
575 <section class="tsd-panel tsd-member"><a id="Second" class="tsd-anchor"></a>
576 <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>
577 <ul class="tsd-signatures">
578 <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>
579 <li class="tsd-description">
580 <div class="tsd-comment tsd-typography"><p>Second returns the second offset within the minute specified by t, in the range [0, 59].</p>
581 </div>
582 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
583 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
584 <ul>
585 <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>
586 <section class="tsd-panel tsd-member"><a id="String" class="tsd-anchor"></a>
587 <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>
588 <ul class="tsd-signatures">
589 <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>
590 <li class="tsd-description">
591 <div class="tsd-comment tsd-typography"><p>String returns the time formatted using the format string</p>
592 <pre><code><span class="hl-1"> </span><span class="hl-2">&quot;2006-01-02 15:04:05.999999999 -0700 MST&quot;</span>
593 </code><button>Copy</button></pre>
594 <p>If the time has a monotonic clock reading, the returned string
595 includes a final field &quot;m=±<value>&quot;, where value is the monotonic
596 clock reading formatted as a decimal number of seconds.</p>
597 <p>The returned string is meant for debugging; for a stable serialized
598 representation, use t.MarshalText, t.MarshalBinary, or t.Format
599 with an explicit format string.</p>
600 </div>
601 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
602 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
603 <ul>
604 <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>
605 <section class="tsd-panel tsd-member"><a id="Sub" class="tsd-anchor"></a>
606 <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>
607 <ul class="tsd-signatures">
608 <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>
609 <li class="tsd-description">
610 <div class="tsd-comment tsd-typography"><p>Sub returns the duration t-u. If the result exceeds the maximum (or minimum)
611 value that can be stored in a [Duration], the maximum (or minimum) duration
612 will be returned.
613 To compute t-d for a duration d, use t.Add(-d).</p>
614 </div>
615 <div class="tsd-parameters">
616 <h4 class="tsd-parameters-title">Parameters</h4>
617 <ul class="tsd-parameter-list">
618 <li>
619 <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>
620 <h4 class="tsd-returns-title">Returns <a href="time.Duration.html" class="tsd-signature-type tsd-kind-interface">Duration</a></h4>
621 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
622 <ul>
623 <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>
624 <section class="tsd-panel tsd-member"><a id="Truncate" class="tsd-anchor"></a>
625 <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>
626 <ul class="tsd-signatures">
627 <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>
628 <li class="tsd-description">
629 <div class="tsd-comment tsd-typography"><p>Truncate returns the result of rounding t down to a multiple of d (since the zero time).
630 If d &lt;= 0, Truncate returns t stripped of any monotonic clock reading but otherwise unchanged.</p>
631 <p>Truncate operates on the time as an absolute duration since the
632 zero time; it does not operate on the presentation form of the
633 time. Thus, Truncate(Hour) may return a time with a non-zero
634 minute, depending on the time&#39;s Location.</p>
635 </div>
636 <div class="tsd-parameters">
637 <h4 class="tsd-parameters-title">Parameters</h4>
638 <ul class="tsd-parameter-list">
639 <li>
640 <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>
641 <h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
642 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
643 <ul>
644 <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>
645 <section class="tsd-panel tsd-member"><a id="UTC" class="tsd-anchor"></a>
646 <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>
647 <ul class="tsd-signatures">
648 <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>
649 <li class="tsd-description">
650 <div class="tsd-comment tsd-typography"><p>UTC returns t with the location set to UTC.</p>
651 </div>
652 <h4 class="tsd-returns-title">Returns <a href="time.Time.html" class="tsd-signature-type tsd-kind-interface">Time</a></h4>
653 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
654 <ul>
655 <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>
656 <section class="tsd-panel tsd-member"><a id="Unix" class="tsd-anchor"></a>
657 <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>
658 <ul class="tsd-signatures">
659 <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>
660 <li class="tsd-description">
661 <div class="tsd-comment tsd-typography"><p>Unix returns t as a Unix time, the number of seconds elapsed
662 since January 1, 1970 UTC. The result does not depend on the
663 location associated with t.
664 Unix-like operating systems often record time as a 32-bit
665 count of seconds, but since the method here returns a 64-bit
666 value it is valid for billions of years into the past or future.</p>
667 </div>
668 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
669 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
670 <ul>
671 <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>
672 <section class="tsd-panel tsd-member"><a id="UnixMicro" class="tsd-anchor"></a>
673 <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>
674 <ul class="tsd-signatures">
675 <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>
676 <li class="tsd-description">
677 <div class="tsd-comment tsd-typography"><p>UnixMicro returns t as a Unix time, the number of microseconds elapsed since
678 January 1, 1970 UTC. The result is undefined if the Unix time in
679 microseconds cannot be represented by an int64 (a date before year -290307 or
680 after year 294246). The result does not depend on the location associated
681 with t.</p>
682 </div>
683 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
684 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
685 <ul>
686 <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>
687 <section class="tsd-panel tsd-member"><a id="UnixMilli" class="tsd-anchor"></a>
688 <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>
689 <ul class="tsd-signatures">
690 <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>
691 <li class="tsd-description">
692 <div class="tsd-comment tsd-typography"><p>UnixMilli returns t as a Unix time, the number of milliseconds elapsed since
693 January 1, 1970 UTC. The result is undefined if the Unix time in
694 milliseconds cannot be represented by an int64 (a date more than 292 million
695 years before or after 1970). The result does not depend on the
696 location associated with t.</p>
697 </div>
698 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
699 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
700 <ul>
701 <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>
702 <section class="tsd-panel tsd-member"><a id="UnixNano" class="tsd-anchor"></a>
703 <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>
704 <ul class="tsd-signatures">
705 <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>
706 <li class="tsd-description">
707 <div class="tsd-comment tsd-typography"><p>UnixNano returns t as a Unix time, the number of nanoseconds elapsed
708 since January 1, 1970 UTC. The result is undefined if the Unix time
709 in nanoseconds cannot be represented by an int64 (a date before the year
710 1678 or after 2262). Note that this means the result of calling UnixNano
711 on the zero Time is undefined. The result does not depend on the
712 location associated with t.</p>
713 </div>
714 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
715 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
716 <ul>
717 <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>
718 <section class="tsd-panel tsd-member"><a id="UnmarshalBinary" class="tsd-anchor"></a>
719 <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>
720 <ul class="tsd-signatures">
721 <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>
722 <li class="tsd-description">
723 <div class="tsd-comment tsd-typography"><p>UnmarshalBinary implements the encoding.BinaryUnmarshaler interface.</p>
724 </div>
725 <div class="tsd-parameters">
726 <h4 class="tsd-parameters-title">Parameters</h4>
727 <ul class="tsd-parameter-list">
728 <li>
729 <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>
730 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
731 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
732 <ul>
733 <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>
734 <section class="tsd-panel tsd-member"><a id="UnmarshalJSON" class="tsd-anchor"></a>
735 <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>
736 <ul class="tsd-signatures">
737 <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>
738 <li class="tsd-description">
739 <div class="tsd-comment tsd-typography"><p>UnmarshalJSON implements the [json.Unmarshaler] interface.
740 The time must be a quoted string in the RFC 3339 format.</p>
741 </div>
742 <div class="tsd-parameters">
743 <h4 class="tsd-parameters-title">Parameters</h4>
744 <ul class="tsd-parameter-list">
745 <li>
746 <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>
747 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
748 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
749 <ul>
750 <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>
751 <section class="tsd-panel tsd-member"><a id="UnmarshalText" class="tsd-anchor"></a>
752 <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>
753 <ul class="tsd-signatures">
754 <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>
755 <li class="tsd-description">
756 <div class="tsd-comment tsd-typography"><p>UnmarshalText implements the [encoding.TextUnmarshaler] interface.
757 The time must be in the RFC 3339 format.</p>
758 </div>
759 <div class="tsd-parameters">
760 <h4 class="tsd-parameters-title">Parameters</h4>
761 <ul class="tsd-parameter-list">
762 <li>
763 <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>
764 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
765 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
766 <ul>
767 <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>
768 <section class="tsd-panel tsd-member"><a id="Weekday" class="tsd-anchor"></a>
769 <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>
770 <ul class="tsd-signatures">
771 <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>
772 <li class="tsd-description">
773 <div class="tsd-comment tsd-typography"><p>Weekday returns the day of the week specified by t.</p>
774 </div>
775 <h4 class="tsd-returns-title">Returns <a href="time.Weekday.html" class="tsd-signature-type tsd-kind-interface">Weekday</a></h4>
776 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
777 <ul>
778 <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>
779 <section class="tsd-panel tsd-member"><a id="Year" class="tsd-anchor"></a>
780 <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>
781 <ul class="tsd-signatures">
782 <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>
783 <li class="tsd-description">
784 <div class="tsd-comment tsd-typography"><p>Year returns the year in which t occurs.</p>
785 </div>
786 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
787 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
788 <ul>
789 <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>
790 <section class="tsd-panel tsd-member"><a id="YearDay" class="tsd-anchor"></a>
791 <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>
792 <ul class="tsd-signatures">
793 <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>
794 <li class="tsd-description">
795 <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,
796 and [1,366] in leap years.</p>
797 </div>
798 <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
799 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
800 <ul>
801 <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>
802 <section class="tsd-panel tsd-member"><a id="Zone" class="tsd-anchor"></a>
803 <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>
804 <ul class="tsd-signatures">
805 <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>
806 <li class="tsd-description">
807 <div class="tsd-comment tsd-typography"><p>Zone computes the time zone in effect at time t, returning the abbreviated
808 name of the zone (such as &quot;CET&quot;) and its offset in seconds east of UTC.</p>
809 </div>
810 <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>
811 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
812 <ul>
813 <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>
814 <section class="tsd-panel tsd-member"><a id="ZoneBounds" class="tsd-anchor"></a>
815 <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>
816 <ul class="tsd-signatures">
817 <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>
818 <li class="tsd-description">
819 <div class="tsd-comment tsd-typography"><p>ZoneBounds returns the bounds of the time zone in effect at time t.
820 The zone begins at start and the next zone begins at end.
821 If the zone begins at the beginning of time, start will be returned as a zero Time.
822 If the zone goes on forever, end will be returned as a zero Time.
823 The Location of the returned times will be the same as t.</p>
824 </div>
825 <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>
826 <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
827 <ul>
828 <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>
829 <div class="col-sidebar">
830 <div class="page-menu">
831 <div class="tsd-navigation settings">
832 <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
833 <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>
834 <div class="tsd-accordion-details">
835 <div class="tsd-filter-visibility">
836 <h4 class="uppercase">Member Visibility</h4><form>
837 <ul id="tsd-filter-options">
838 <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>
839 <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>
840 <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>
841 <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>
842 <div class="tsd-theme-toggle">
843 <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>
844 <details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
845 <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
846 <div class="tsd-accordion-details">
847 <ul>
848 <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>
849 <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>
850 <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>
851 <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>
852 <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>
853 <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>
854 <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>
855 <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>
856 <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>
857 <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>
858 <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>
859 <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>
860 <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>
861 <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>
862 <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>
863 <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>
864 <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>
865 <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>
866 <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>
867 <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>
868 <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>
869 <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>
870 <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>
871 <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>
872 <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>
873 <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>
874 <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>
875 <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>
876 <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>
877 <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>
878 <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>
879 <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>
880 <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>
881 <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>
882 <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>
883 <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>
884 <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>
885 <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>
886 <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>
887 <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>
888 <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>
889 <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>
890 <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>
891 <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>
892 <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>
893 <div class="site-menu">
894 <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>
895 <ul class="tsd-small-nested-navigation">
896 <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>
897 <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>
898 <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>
899 <li>
900 <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>
901 <div class="tsd-accordion-details">
902 <ul class="tsd-nested-navigation">
903 <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>
904 <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>
905 <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>
906 <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>
907 <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>
908 <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>
909 <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>
910 <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>
911 <div class="tsd-generator">
912 <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
913 <div class="overlay"></div></body></html>