@sitevision/api 2023.2.2-beta.1 → 2023.2.2-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/package.json +1 -1
  2. package/server/ArraysInstance/index.d.ts +1 -1
  3. package/server/CollectionsInstance/index.d.ts +1 -1
  4. package/server/NodeTypeUtil/index.d.ts +1 -1
  5. package/server/PermissionUtil/index.d.ts +3 -3
  6. package/server/Properties/index.d.ts +7 -4
  7. package/server/TagUtil/index.d.ts +1 -1
  8. package/types/java/io/File/index.d.ts +0 -120
  9. package/types/java/io/File/index.js +0 -2
  10. package/types/java/io/PrintStream/index.d.ts +4 -4
  11. package/types/java/io/PrintWriter/index.d.ts +4 -4
  12. package/types/java/lang/Boolean/index.d.ts +0 -123
  13. package/types/java/lang/Boolean/index.js +1 -8
  14. package/types/java/lang/Class/index.d.ts +9 -97
  15. package/types/java/lang/Class/index.js +0 -1
  16. package/types/java/lang/ClassLoader/index.d.ts +0 -91
  17. package/types/java/lang/ClassLoader/index.js +0 -5
  18. package/types/java/lang/Double/index.d.ts +0 -541
  19. package/types/java/lang/Double/index.js +2 -13
  20. package/types/java/lang/Enum/index.d.ts +0 -23
  21. package/types/java/lang/Enum/index.js +0 -1
  22. package/types/java/lang/Float/index.d.ts +0 -494
  23. package/types/java/lang/Float/index.js +2 -13
  24. package/types/java/lang/Integer/index.d.ts +0 -780
  25. package/types/java/lang/Integer/index.js +2 -29
  26. package/types/java/lang/Long/index.d.ts +0 -788
  27. package/types/java/lang/Long/index.js +2 -28
  28. package/types/java/lang/Package/index.d.ts +0 -28
  29. package/types/java/lang/Package/index.js +0 -2
  30. package/types/java/lang/String/index.d.ts +0 -193
  31. package/types/java/lang/String/index.js +0 -4
  32. package/types/java/lang/reflect/AccessibleObject/index.d.ts +0 -25
  33. package/types/java/lang/reflect/Constructor/index.d.ts +1 -1
  34. package/types/java/lang/reflect/Method/index.d.ts +1 -1
  35. package/types/java/math/BigDecimal/index.d.ts +1 -40
  36. package/types/java/math/BigDecimal/index.js +0 -1
  37. package/types/java/math/BigInteger/index.d.ts +0 -25
  38. package/types/java/math/BigInteger/index.js +0 -2
  39. package/types/java/net/InetAddress/index.d.ts +0 -134
  40. package/types/java/net/InetAddress/index.js +1 -6
  41. package/types/java/net/NetworkInterface/index.d.ts +0 -50
  42. package/types/java/net/NetworkInterface/index.js +0 -4
  43. package/types/java/net/URI/index.d.ts +0 -22
  44. package/types/java/net/URI/index.js +0 -1
  45. package/types/java/net/URL/index.d.ts +0 -23
  46. package/types/java/net/URL/index.js +1 -2
  47. package/types/java/net/URLConnection/index.d.ts +0 -125
  48. package/types/java/net/URLConnection/index.js +1 -10
  49. package/types/java/nio/channels/AsynchronousFileChannel/index.d.ts +0 -136
  50. package/types/java/nio/channels/AsynchronousFileChannel/index.js +0 -1
  51. package/types/java/nio/channels/FileChannel/index.d.ts +0 -128
  52. package/types/java/nio/channels/FileChannel/index.js +0 -1
  53. package/types/java/nio/charset/Charset/index.d.ts +1 -58
  54. package/types/java/nio/charset/Charset/index.js +0 -4
  55. package/types/java/nio/file/FileSystem/index.d.ts +1 -1
  56. package/types/java/nio/file/Path/index.d.ts +3 -3
  57. package/types/java/nio/file/Watchable/index.d.ts +2 -2
  58. package/types/java/nio/file/spi/FileSystemProvider/index.d.ts +18 -26
  59. package/types/java/nio/file/spi/FileSystemProvider/index.js +0 -1
  60. package/types/java/text/DateFormat/index.d.ts +0 -130
  61. package/types/java/text/DateFormat/index.js +0 -5
  62. package/types/java/text/DateFormatSymbols/index.d.ts +7 -52
  63. package/types/java/text/DateFormatSymbols/index.js +0 -2
  64. package/types/java/text/NumberFormat/index.d.ts +0 -123
  65. package/types/java/text/NumberFormat/index.js +0 -6
  66. package/types/java/time/Clock/index.d.ts +1 -162
  67. package/types/java/time/Clock/index.js +0 -8
  68. package/types/java/time/Duration/index.d.ts +3 -193
  69. package/types/java/time/Duration/index.js +0 -10
  70. package/types/java/time/Instant/index.d.ts +0 -101
  71. package/types/java/time/Instant/index.js +0 -5
  72. package/types/java/time/LocalDate/index.d.ts +4 -134
  73. package/types/java/time/LocalDate/index.js +0 -6
  74. package/types/java/time/LocalDateTime/index.d.ts +7 -285
  75. package/types/java/time/LocalDateTime/index.js +0 -6
  76. package/types/java/time/LocalTime/index.d.ts +2 -146
  77. package/types/java/time/LocalTime/index.js +0 -6
  78. package/types/java/time/OffsetDateTime/index.d.ts +7 -177
  79. package/types/java/time/OffsetDateTime/index.js +0 -6
  80. package/types/java/time/OffsetTime/index.d.ts +3 -141
  81. package/types/java/time/OffsetTime/index.js +0 -5
  82. package/types/java/time/Period/index.d.ts +1 -135
  83. package/types/java/time/Period/index.js +0 -8
  84. package/types/java/time/ZoneId/index.d.ts +1 -121
  85. package/types/java/time/ZoneId/index.js +0 -5
  86. package/types/java/time/ZoneOffset/index.d.ts +1 -104
  87. package/types/java/time/ZoneOffset/index.js +0 -6
  88. package/types/java/time/ZonedDateTime/index.d.ts +6 -284
  89. package/types/java/time/ZonedDateTime/index.js +0 -7
  90. package/types/java/time/format/DateTimeFormatter/index.d.ts +4 -217
  91. package/types/java/time/format/DateTimeFormatter/index.js +0 -6
  92. package/types/java/time/format/DecimalStyle/index.d.ts +0 -34
  93. package/types/java/time/format/DecimalStyle/index.js +0 -3
  94. package/types/java/time/temporal/ValueRange/index.d.ts +0 -43
  95. package/types/java/time/temporal/ValueRange/index.js +0 -1
  96. package/types/java/time/zone/ZoneOffsetTransition/index.d.ts +2 -19
  97. package/types/java/time/zone/ZoneOffsetTransition/index.js +0 -1
  98. package/types/java/time/zone/ZoneRules/index.d.ts +2 -28
  99. package/types/java/time/zone/ZoneRules/index.js +0 -1
  100. package/types/java/util/Calendar/index.d.ts +2 -67
  101. package/types/java/util/Calendar/index.js +0 -3
  102. package/types/java/util/Comparator/index.d.ts +16 -16
  103. package/types/java/util/Currency/index.d.ts +0 -38
  104. package/types/java/util/Currency/index.js +0 -2
  105. package/types/java/util/Date/index.d.ts +0 -160
  106. package/types/java/util/Date/index.js +0 -3
  107. package/types/java/util/Locale/index.d.ts +0 -344
  108. package/types/java/util/Locale/index.js +1 -11
  109. package/types/java/util/Optional/index.d.ts +0 -27
  110. package/types/java/util/Optional/index.js +0 -3
  111. package/types/java/util/OptionalDouble/index.d.ts +0 -15
  112. package/types/java/util/OptionalDouble/index.js +0 -2
  113. package/types/java/util/OptionalInt/index.d.ts +0 -15
  114. package/types/java/util/OptionalInt/index.js +0 -2
  115. package/types/java/util/OptionalLong/index.d.ts +0 -15
  116. package/types/java/util/OptionalLong/index.js +0 -2
  117. package/types/java/util/TimeZone/index.d.ts +0 -65
  118. package/types/java/util/TimeZone/index.js +0 -4
  119. package/types/java/util/stream/Collector/index.d.ts +2 -2
  120. package/types/java/util/stream/DoubleStream/index.d.ts +1 -1
  121. package/types/java/util/stream/IntStream/index.d.ts +1 -1
  122. package/types/java/util/stream/LongStream/index.d.ts +1 -1
  123. package/types/java/util/stream/Stream/index.d.ts +1 -1
  124. package/types/javax/jcr/PropertyType/index.d.ts +2 -18
  125. package/types/javax/jcr/PropertyType/index.js +1 -4
  126. package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +1 -1
  127. package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +1 -1
  128. package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +2 -2
  129. package/types/javax/jcr/observation/ObservationManager/index.d.ts +4 -4
  130. package/types/javax/jcr/version/OnParentVersionAction/index.d.ts +2 -19
  131. package/types/javax/jcr/version/OnParentVersionAction/index.js +1 -4
  132. package/types/java/net/ContentHandler/index.d.ts +0 -70
  133. package/types/java/net/ContentHandler/index.js +0 -10
  134. package/types/java/net/ContentHandlerFactory/index.d.ts +0 -26
  135. package/types/java/net/ContentHandlerFactory/index.js +0 -10
  136. package/types/java/net/FileNameMap/index.d.ts +0 -16
  137. package/types/java/net/FileNameMap/index.js +0 -10
  138. package/types/java/net/URLStreamHandler/index.d.ts +0 -199
  139. package/types/java/net/URLStreamHandler/index.js +0 -19
  140. package/types/java/net/URLStreamHandlerFactory/index.d.ts +0 -24
  141. package/types/java/net/URLStreamHandlerFactory/index.js +0 -10
  142. package/types/java/time/format/FormatStyle/index.d.ts +0 -14
  143. package/types/java/time/format/FormatStyle/index.js +0 -13
  144. package/types/java/util/Locale.Category/index.d.ts +0 -12
  145. package/types/java/util/Locale.Category/index.js +0 -11
  146. package/types/java/util/Locale.FilteringMode/index.d.ts +0 -97
  147. package/types/java/util/Locale.FilteringMode/index.js +0 -14
@@ -5,11 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- now: function now() {},
9
- ofEpochSecond: function ofEpochSecond() {},
10
- ofEpochMilli: function ofEpochMilli() {},
11
- from: function from() {},
12
- parse: function parse() {},
13
8
  isSupported: function isSupported() {},
14
9
  range: function range() {},
15
10
  get: function get() {},
@@ -1,17 +1,11 @@
1
- import type { ZoneId } from "../ZoneId";
2
- import type { Clock } from "../Clock";
3
-
4
- import type { Month } from "../Month";
5
-
6
- import type { TemporalAccessor } from "../temporal/TemporalAccessor";
7
- import type { CharSequence } from "../../lang/CharSequence";
8
- import type { DateTimeFormatter } from "../format/DateTimeFormatter";
9
1
  import type { TemporalField } from "../temporal/TemporalField";
10
2
 
11
3
  import type { TemporalUnit } from "../temporal/TemporalUnit";
12
4
  import type { ValueRange } from "../temporal/ValueRange";
5
+
13
6
  import type { IsoChronology } from "../chrono/IsoChronology";
14
7
  import type { Era } from "../chrono/Era";
8
+ import type { Month } from "../Month";
15
9
  import type { DayOfWeek } from "../DayOfWeek";
16
10
  import type { TemporalAdjuster } from "../temporal/TemporalAdjuster";
17
11
  import type { TemporalAmount } from "../temporal/TemporalAmount";
@@ -20,11 +14,13 @@ import type { TemporalQuery } from "../temporal/TemporalQuery";
20
14
  import type { Temporal } from "../temporal/Temporal";
21
15
  import type { ChronoLocalDate } from "../chrono/ChronoLocalDate";
22
16
  import type { Period } from "../Period";
17
+ import type { DateTimeFormatter } from "../format/DateTimeFormatter";
23
18
  import type { String } from "../../lang/String";
24
19
  import type { LocalTime } from "../LocalTime";
25
20
  import type { LocalDateTime } from "../LocalDateTime";
26
21
  import type { OffsetTime } from "../OffsetTime";
27
22
  import type { OffsetDateTime } from "../OffsetDateTime";
23
+ import type { ZoneId } from "../ZoneId";
28
24
  import type { ZonedDateTime } from "../ZonedDateTime";
29
25
  import type { Object } from "../../lang/Object";
30
26
  import type { Serializable } from "../../io/Serializable";
@@ -64,132 +60,6 @@ export type LocalDate = Object &
64
60
  TemporalAdjuster &
65
61
  ChronoLocalDate &
66
62
  Serializable & {
67
- /**
68
- * Obtains the current date from the system clock in the default time-zone.
69
- * <p>
70
- * This will query the {@link Clock#systemDefaultZone() system clock} in the default
71
- * time-zone to obtain the current date.
72
- * <p>
73
- * Using this method will prevent the ability to use an alternate clock for testing
74
- * because the clock is hard-coded.
75
- * @return the current date using the system clock and default time-zone, not null
76
- */
77
- now(): LocalDate;
78
-
79
- /**
80
- * Obtains the current date from the system clock in the specified time-zone.
81
- * <p>
82
- * This will query the {@link Clock#system(ZoneId) system clock} to obtain the current date.
83
- * Specifying the time-zone avoids dependence on the default time-zone.
84
- * <p>
85
- * Using this method will prevent the ability to use an alternate clock for testing
86
- * because the clock is hard-coded.
87
- * @param zone the zone ID to use, not null
88
- * @return the current date using the system clock, not null
89
- */
90
- now(zone: ZoneId): LocalDate;
91
-
92
- /**
93
- * Obtains the current date from the specified clock.
94
- * <p>
95
- * This will query the specified clock to obtain the current date - today.
96
- * Using this method allows the use of an alternate clock for testing.
97
- * The alternate clock may be introduced using {@link Clock dependency injection}.
98
- * @param clock the clock to use, not null
99
- * @return the current date, not null
100
- */
101
- now(clock: Clock): LocalDate;
102
-
103
- /**
104
- * Obtains an instance of {@code LocalDate} from a year, month and day.
105
- * <p>
106
- * This returns a {@code LocalDate} with the specified year, month and day-of-month.
107
- * The day must be valid for the year and month, otherwise an exception will be thrown.
108
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
109
- * @param month the month-of-year to represent, not null
110
- * @param dayOfMonth the day-of-month to represent, from 1 to 31
111
- * @return the local date, not null
112
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-month is invalid for the month-year
113
- */
114
- of(year: number, month: Month, dayOfMonth: number): LocalDate;
115
-
116
- /**
117
- * Obtains an instance of {@code LocalDate} from a year, month and day.
118
- * <p>
119
- * This returns a {@code LocalDate} with the specified year, month and day-of-month.
120
- * The day must be valid for the year and month, otherwise an exception will be thrown.
121
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
122
- * @param month the month-of-year to represent, from 1 (January) to 12 (December)
123
- * @param dayOfMonth the day-of-month to represent, from 1 to 31
124
- * @return the local date, not null
125
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-month is invalid for the month-year
126
- */
127
- of(year: number, month: number, dayOfMonth: number): LocalDate;
128
-
129
- /**
130
- * Obtains an instance of {@code LocalDate} from a year and day-of-year.
131
- * <p>
132
- * This returns a {@code LocalDate} with the specified year and day-of-year.
133
- * The day-of-year must be valid for the year, otherwise an exception will be thrown.
134
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
135
- * @param dayOfYear the day-of-year to represent, from 1 to 366
136
- * @return the local date, not null
137
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-year is invalid for the year
138
- */
139
- ofYearDay(year: number, dayOfYear: number): LocalDate;
140
-
141
- /**
142
- * Obtains an instance of {@code LocalDate} from the epoch day count.
143
- * <p>
144
- * This returns a {@code LocalDate} with the specified epoch-day.
145
- * The {@link ChronoField#EPOCH_DAY EPOCH_DAY} is a simple incrementing count
146
- * of days where day 0 is 1970-01-01. Negative numbers represent earlier days.
147
- * @param epochDay the Epoch Day to convert, based on the epoch 1970-01-01
148
- * @return the local date, not null
149
- * @throws DateTimeException if the epoch day exceeds the supported date range
150
- */
151
- ofEpochDay(epochDay: number): LocalDate;
152
-
153
- /**
154
- * Obtains an instance of {@code LocalDate} from a temporal object.
155
- * <p>
156
- * This obtains a local date based on the specified temporal.
157
- * A {@code TemporalAccessor} represents an arbitrary set of date and time information,
158
- * which this factory converts to an instance of {@code LocalDate}.
159
- * <p>
160
- * The conversion uses the {@link TemporalQueries#localDate()} query, which relies
161
- * on extracting the {@link ChronoField#EPOCH_DAY EPOCH_DAY} field.
162
- * <p>
163
- * This method matches the signature of the functional interface {@link TemporalQuery}
164
- * allowing it to be used as a query via method reference, {@code LocalDate::from}.
165
- * @param temporal the temporal object to convert, not null
166
- * @return the local date, not null
167
- * @throws DateTimeException if unable to convert to a {@code LocalDate}
168
- */
169
- from(temporal: TemporalAccessor): LocalDate;
170
-
171
- /**
172
- * Obtains an instance of {@code LocalDate} from a text string such as {@code 2007-12-03}.
173
- * <p>
174
- * The string must represent a valid date and is parsed using
175
- * {@link java.time.format.DateTimeFormatter#ISO_LOCAL_DATE}.
176
- * @param text the text to parse such as "2007-12-03", not null
177
- * @return the parsed local date, not null
178
- * @throws DateTimeParseException if the text cannot be parsed
179
- */
180
- parse(text: CharSequence): LocalDate;
181
-
182
- /**
183
- * Obtains an instance of {@code LocalDate} from a text string using a specific formatter.
184
- * <p>
185
- * The text is parsed using the formatter, returning a date.
186
- * @param text the text to parse, not null
187
- * @param formatter the formatter to use, not null
188
- * @return the parsed local date, not null
189
- * @throws DateTimeParseException if the text cannot be parsed
190
- */
191
- parse(text: CharSequence, formatter: DateTimeFormatter): LocalDate;
192
-
193
63
  /**
194
64
  * Checks if the specified field is supported.
195
65
  * <p>
@@ -5,12 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- now: function now() {},
9
- of: function of() {},
10
- ofYearDay: function ofYearDay() {},
11
- ofEpochDay: function ofEpochDay() {},
12
- from: function from() {},
13
- parse: function parse() {},
14
8
  isSupported: function isSupported() {},
15
9
  range: function range() {},
16
10
  get: function get() {},
@@ -1,27 +1,22 @@
1
- import type { ZoneId } from "../ZoneId";
2
- import type { Clock } from "../Clock";
3
-
4
- import type { Month } from "../Month";
5
- import type { LocalDate } from "../LocalDate";
6
- import type { LocalTime } from "../LocalTime";
7
- import type { Instant } from "../Instant";
8
-
9
- import type { ZoneOffset } from "../ZoneOffset";
10
- import type { TemporalAccessor } from "../temporal/TemporalAccessor";
11
- import type { CharSequence } from "../../lang/CharSequence";
12
- import type { DateTimeFormatter } from "../format/DateTimeFormatter";
13
1
  import type { TemporalField } from "../temporal/TemporalField";
14
2
 
15
3
  import type { TemporalUnit } from "../temporal/TemporalUnit";
16
4
  import type { ValueRange } from "../temporal/ValueRange";
5
+
6
+ import type { LocalDate } from "../LocalDate";
7
+ import type { Month } from "../Month";
17
8
  import type { DayOfWeek } from "../DayOfWeek";
9
+ import type { LocalTime } from "../LocalTime";
18
10
  import type { TemporalAdjuster } from "../temporal/TemporalAdjuster";
19
11
  import type { TemporalAmount } from "../temporal/TemporalAmount";
20
12
  import type { TemporalQuery } from "../temporal/TemporalQuery";
21
13
 
22
14
  import type { Temporal } from "../temporal/Temporal";
15
+ import type { DateTimeFormatter } from "../format/DateTimeFormatter";
23
16
  import type { String } from "../../lang/String";
17
+ import type { ZoneOffset } from "../ZoneOffset";
24
18
  import type { OffsetDateTime } from "../OffsetDateTime";
19
+ import type { ZoneId } from "../ZoneId";
25
20
  import type { ZonedDateTime } from "../ZonedDateTime";
26
21
  import type { ChronoLocalDateTime } from "../chrono/ChronoLocalDateTime";
27
22
  import type { Object } from "../../lang/Object";
@@ -65,279 +60,6 @@ export type LocalDateTime = Object &
65
60
  TemporalAdjuster &
66
61
  ChronoLocalDateTime &
67
62
  Serializable & {
68
- /**
69
- * Obtains the current date-time from the system clock in the default time-zone.
70
- * <p>
71
- * This will query the {@link Clock#systemDefaultZone() system clock} in the default
72
- * time-zone to obtain the current date-time.
73
- * <p>
74
- * Using this method will prevent the ability to use an alternate clock for testing
75
- * because the clock is hard-coded.
76
- * @return the current date-time using the system clock and default time-zone, not null
77
- */
78
- now(): LocalDateTime;
79
-
80
- /**
81
- * Obtains the current date-time from the system clock in the specified time-zone.
82
- * <p>
83
- * This will query the {@link Clock#system(ZoneId) system clock} to obtain the current date-time.
84
- * Specifying the time-zone avoids dependence on the default time-zone.
85
- * <p>
86
- * Using this method will prevent the ability to use an alternate clock for testing
87
- * because the clock is hard-coded.
88
- * @param zone the zone ID to use, not null
89
- * @return the current date-time using the system clock, not null
90
- */
91
- now(zone: ZoneId): LocalDateTime;
92
-
93
- /**
94
- * Obtains the current date-time from the specified clock.
95
- * <p>
96
- * This will query the specified clock to obtain the current date-time.
97
- * Using this method allows the use of an alternate clock for testing.
98
- * The alternate clock may be introduced using {@link Clock dependency injection}.
99
- * @param clock the clock to use, not null
100
- * @return the current date-time, not null
101
- */
102
- now(clock: Clock): LocalDateTime;
103
-
104
- /**
105
- * Obtains an instance of {@code LocalDateTime} from year, month,
106
- * day, hour and minute, setting the second and nanosecond to zero.
107
- * <p>
108
- * This returns a {@code LocalDateTime} with the specified year, month,
109
- * day-of-month, hour and minute.
110
- * The day must be valid for the year and month, otherwise an exception will be thrown.
111
- * The second and nanosecond fields will be set to zero.
112
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
113
- * @param month the month-of-year to represent, not null
114
- * @param dayOfMonth the day-of-month to represent, from 1 to 31
115
- * @param hour the hour-of-day to represent, from 0 to 23
116
- * @param minute the minute-of-hour to represent, from 0 to 59
117
- * @return the local date-time, not null
118
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-month is invalid for the month-year
119
- */
120
- of(
121
- year: number,
122
- month: Month,
123
- dayOfMonth: number,
124
- hour: number,
125
- minute: number
126
- ): LocalDateTime;
127
-
128
- /**
129
- * Obtains an instance of {@code LocalDateTime} from year, month,
130
- * day, hour, minute and second, setting the nanosecond to zero.
131
- * <p>
132
- * This returns a {@code LocalDateTime} with the specified year, month,
133
- * day-of-month, hour, minute and second.
134
- * The day must be valid for the year and month, otherwise an exception will be thrown.
135
- * The nanosecond field will be set to zero.
136
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
137
- * @param month the month-of-year to represent, not null
138
- * @param dayOfMonth the day-of-month to represent, from 1 to 31
139
- * @param hour the hour-of-day to represent, from 0 to 23
140
- * @param minute the minute-of-hour to represent, from 0 to 59
141
- * @param second the second-of-minute to represent, from 0 to 59
142
- * @return the local date-time, not null
143
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-month is invalid for the month-year
144
- */
145
- of(
146
- year: number,
147
- month: Month,
148
- dayOfMonth: number,
149
- hour: number,
150
- minute: number,
151
- second: number
152
- ): LocalDateTime;
153
-
154
- /**
155
- * Obtains an instance of {@code LocalDateTime} from year, month,
156
- * day, hour, minute, second and nanosecond.
157
- * <p>
158
- * This returns a {@code LocalDateTime} with the specified year, month,
159
- * day-of-month, hour, minute, second and nanosecond.
160
- * The day must be valid for the year and month, otherwise an exception will be thrown.
161
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
162
- * @param month the month-of-year to represent, not null
163
- * @param dayOfMonth the day-of-month to represent, from 1 to 31
164
- * @param hour the hour-of-day to represent, from 0 to 23
165
- * @param minute the minute-of-hour to represent, from 0 to 59
166
- * @param second the second-of-minute to represent, from 0 to 59
167
- * @param nanoOfSecond the nano-of-second to represent, from 0 to 999,999,999
168
- * @return the local date-time, not null
169
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-month is invalid for the month-year
170
- */
171
- of(
172
- year: number,
173
- month: Month,
174
- dayOfMonth: number,
175
- hour: number,
176
- minute: number,
177
- second: number,
178
- nanoOfSecond: number
179
- ): LocalDateTime;
180
-
181
- /**
182
- * Obtains an instance of {@code LocalDateTime} from year, month,
183
- * day, hour and minute, setting the second and nanosecond to zero.
184
- * <p>
185
- * This returns a {@code LocalDateTime} with the specified year, month,
186
- * day-of-month, hour and minute.
187
- * The day must be valid for the year and month, otherwise an exception will be thrown.
188
- * The second and nanosecond fields will be set to zero.
189
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
190
- * @param month the month-of-year to represent, from 1 (January) to 12 (December)
191
- * @param dayOfMonth the day-of-month to represent, from 1 to 31
192
- * @param hour the hour-of-day to represent, from 0 to 23
193
- * @param minute the minute-of-hour to represent, from 0 to 59
194
- * @return the local date-time, not null
195
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-month is invalid for the month-year
196
- */
197
- of(
198
- year: number,
199
- month: number,
200
- dayOfMonth: number,
201
- hour: number,
202
- minute: number
203
- ): LocalDateTime;
204
-
205
- /**
206
- * Obtains an instance of {@code LocalDateTime} from year, month,
207
- * day, hour, minute and second, setting the nanosecond to zero.
208
- * <p>
209
- * This returns a {@code LocalDateTime} with the specified year, month,
210
- * day-of-month, hour, minute and second.
211
- * The day must be valid for the year and month, otherwise an exception will be thrown.
212
- * The nanosecond field will be set to zero.
213
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
214
- * @param month the month-of-year to represent, from 1 (January) to 12 (December)
215
- * @param dayOfMonth the day-of-month to represent, from 1 to 31
216
- * @param hour the hour-of-day to represent, from 0 to 23
217
- * @param minute the minute-of-hour to represent, from 0 to 59
218
- * @param second the second-of-minute to represent, from 0 to 59
219
- * @return the local date-time, not null
220
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-month is invalid for the month-year
221
- */
222
- of(
223
- year: number,
224
- month: number,
225
- dayOfMonth: number,
226
- hour: number,
227
- minute: number,
228
- second: number
229
- ): LocalDateTime;
230
-
231
- /**
232
- * Obtains an instance of {@code LocalDateTime} from year, month,
233
- * day, hour, minute, second and nanosecond.
234
- * <p>
235
- * This returns a {@code LocalDateTime} with the specified year, month,
236
- * day-of-month, hour, minute, second and nanosecond.
237
- * The day must be valid for the year and month, otherwise an exception will be thrown.
238
- * @param year the year to represent, from MIN_YEAR to MAX_YEAR
239
- * @param month the month-of-year to represent, from 1 (January) to 12 (December)
240
- * @param dayOfMonth the day-of-month to represent, from 1 to 31
241
- * @param hour the hour-of-day to represent, from 0 to 23
242
- * @param minute the minute-of-hour to represent, from 0 to 59
243
- * @param second the second-of-minute to represent, from 0 to 59
244
- * @param nanoOfSecond the nano-of-second to represent, from 0 to 999,999,999
245
- * @return the local date-time, not null
246
- * @throws DateTimeException if the value of any field is out of range,&#xA; or if the day-of-month is invalid for the month-year
247
- */
248
- of(
249
- year: number,
250
- month: number,
251
- dayOfMonth: number,
252
- hour: number,
253
- minute: number,
254
- second: number,
255
- nanoOfSecond: number
256
- ): LocalDateTime;
257
-
258
- /**
259
- * Obtains an instance of {@code LocalDateTime} from a date and time.
260
- * @param date the local date, not null
261
- * @param time the local time, not null
262
- * @return the local date-time, not null
263
- */
264
- of(date: LocalDate, time: LocalTime): LocalDateTime;
265
-
266
- /**
267
- * Obtains an instance of {@code LocalDateTime} from an {@code Instant} and zone ID.
268
- * <p>
269
- * This creates a local date-time based on the specified instant.
270
- * First, the offset from UTC/Greenwich is obtained using the zone ID and instant,
271
- * which is simple as there is only one valid offset for each instant.
272
- * Then, the instant and offset are used to calculate the local date-time.
273
- * @param instant the instant to create the date-time from, not null
274
- * @param zone the time-zone, which may be an offset, not null
275
- * @return the local date-time, not null
276
- * @throws DateTimeException if the result exceeds the supported range
277
- */
278
- ofInstant(instant: Instant, zone: ZoneId): LocalDateTime;
279
-
280
- /**
281
- * Obtains an instance of {@code LocalDateTime} using seconds from the
282
- * epoch of 1970-01-01T00:00:00Z.
283
- * <p>
284
- * This allows the {@link ChronoField#INSTANT_SECONDS epoch-second} field
285
- * to be converted to a local date-time. This is primarily intended for
286
- * low-level conversions rather than general application usage.
287
- * @param epochSecond the number of seconds from the epoch of 1970-01-01T00:00:00Z
288
- * @param nanoOfSecond the nanosecond within the second, from 0 to 999,999,999
289
- * @param offset the zone offset, not null
290
- * @return the local date-time, not null
291
- * @throws DateTimeException if the result exceeds the supported range,&#xA; or if the nano-of-second is invalid
292
- */
293
- ofEpochSecond(
294
- epochSecond: number,
295
- nanoOfSecond: number,
296
- offset: ZoneOffset
297
- ): LocalDateTime;
298
-
299
- /**
300
- * Obtains an instance of {@code LocalDateTime} from a temporal object.
301
- * <p>
302
- * This obtains a local date-time based on the specified temporal.
303
- * A {@code TemporalAccessor} represents an arbitrary set of date and time information,
304
- * which this factory converts to an instance of {@code LocalDateTime}.
305
- * <p>
306
- * The conversion extracts and combines the {@code LocalDate} and the
307
- * {@code LocalTime} from the temporal object.
308
- * Implementations are permitted to perform optimizations such as accessing
309
- * those fields that are equivalent to the relevant objects.
310
- * <p>
311
- * This method matches the signature of the functional interface {@link TemporalQuery}
312
- * allowing it to be used as a query via method reference, {@code LocalDateTime::from}.
313
- * @param temporal the temporal object to convert, not null
314
- * @return the local date-time, not null
315
- * @throws DateTimeException if unable to convert to a {@code LocalDateTime}
316
- */
317
- from(temporal: TemporalAccessor): LocalDateTime;
318
-
319
- /**
320
- * Obtains an instance of {@code LocalDateTime} from a text string such as {@code 2007-12-03T10:15:30}.
321
- * <p>
322
- * The string must represent a valid date-time and is parsed using
323
- * {@link java.time.format.DateTimeFormatter#ISO_LOCAL_DATE_TIME}.
324
- * @param text the text to parse such as "2007-12-03T10:15:30", not null
325
- * @return the parsed local date-time, not null
326
- * @throws DateTimeParseException if the text cannot be parsed
327
- */
328
- parse(text: CharSequence): LocalDateTime;
329
-
330
- /**
331
- * Obtains an instance of {@code LocalDateTime} from a text string using a specific formatter.
332
- * <p>
333
- * The text is parsed using the formatter, returning a date-time.
334
- * @param text the text to parse, not null
335
- * @param formatter the formatter to use, not null
336
- * @return the parsed local date-time, not null
337
- * @throws DateTimeParseException if the text cannot be parsed
338
- */
339
- parse(text: CharSequence, formatter: DateTimeFormatter): LocalDateTime;
340
-
341
63
  /**
342
64
  * Checks if the specified field is supported.
343
65
  * <p>
@@ -5,12 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- now: function now() {},
9
- of: function of() {},
10
- ofInstant: function ofInstant() {},
11
- ofEpochSecond: function ofEpochSecond() {},
12
- from: function from() {},
13
- parse: function parse() {},
14
8
  isSupported: function isSupported() {},
15
9
  range: function range() {},
16
10
  get: function get() {},