@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
@@ -23,49 +23,6 @@ import type { Serializable } from "../../../io/Serializable";
23
23
  */
24
24
  export type ValueRange = Object &
25
25
  Serializable & {
26
- /**
27
- * Obtains a fixed value range.
28
- * <p>
29
- * This factory obtains a range where the minimum and maximum values are fixed.
30
- * For example, the ISO month-of-year always runs from 1 to 12.
31
- * @param min the minimum value
32
- * @param max the maximum value
33
- * @return the ValueRange for min, max, not null
34
- * @throws IllegalArgumentException if the minimum is greater than the maximum
35
- */
36
- of(min: number, max: number): ValueRange;
37
-
38
- /**
39
- * Obtains a variable value range.
40
- * <p>
41
- * This factory obtains a range where the minimum value is fixed and the maximum value may vary.
42
- * For example, the ISO day-of-month always starts at 1, but ends between 28 and 31.
43
- * @param min the minimum value
44
- * @param maxSmallest the smallest maximum value
45
- * @param maxLargest the largest maximum value
46
- * @return the ValueRange for min, smallest max, largest max, not null
47
- * @throws IllegalArgumentException if&#xA; the minimum is greater than the smallest maximum,&#xA; or the smallest maximum is greater than the largest maximum
48
- */
49
- of(min: number, maxSmallest: number, maxLargest: number): ValueRange;
50
-
51
- /**
52
- * Obtains a fully variable value range.
53
- * <p>
54
- * This factory obtains a range where both the minimum and maximum value may vary.
55
- * @param minSmallest the smallest minimum value
56
- * @param minLargest the largest minimum value
57
- * @param maxSmallest the smallest maximum value
58
- * @param maxLargest the largest maximum value
59
- * @return the ValueRange for smallest min, largest min, smallest max, largest max, not null
60
- * @throws IllegalArgumentException if&#xA; the smallest minimum is greater than the smallest maximum,&#xA; or the smallest maximum is greater than the largest maximum&#xA; or the largest minimum is greater than the largest maximum
61
- */
62
- of(
63
- minSmallest: number,
64
- minLargest: number,
65
- maxSmallest: number,
66
- maxLargest: number
67
- ): ValueRange;
68
-
69
26
  /**
70
27
  * Is the value range fixed and fully known.
71
28
  * <p>
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- of: function of() {},
9
8
  isFixed: function isFixed() {},
10
9
  getMinimum: function getMinimum() {},
11
10
  getLargestMinimum: function getLargestMinimum() {},
@@ -1,7 +1,7 @@
1
- import type { LocalDateTime } from "../../LocalDateTime";
2
- import type { ZoneOffset } from "../../ZoneOffset";
3
1
  import type { Instant } from "../../Instant";
4
2
 
3
+ import type { LocalDateTime } from "../../LocalDateTime";
4
+ import type { ZoneOffset } from "../../ZoneOffset";
5
5
  import type { Duration } from "../../Duration";
6
6
 
7
7
  import type { Object } from "../../../lang/Object";
@@ -29,23 +29,6 @@ import type { Serializable } from "../../../io/Serializable";
29
29
  export type ZoneOffsetTransition = Object &
30
30
  Comparable &
31
31
  Serializable & {
32
- /**
33
- * Obtains an instance defining a transition between two offsets.
34
- * <p>
35
- * Applications should normally obtain an instance from {@link ZoneRules}.
36
- * This factory is only intended for use when creating {@link ZoneRules}.
37
- * @param transition the transition date-time at the transition, which never&#xA; actually occurs, expressed local to the before offset, not null
38
- * @param offsetBefore the offset before the transition, not null
39
- * @param offsetAfter the offset at and after the transition, not null
40
- * @return the transition, not null
41
- * @throws IllegalArgumentException if {@code offsetBefore} and {@code offsetAfter}&#xA; are equal, or {@code transition.getNano()} returns non-zero value
42
- */
43
- of(
44
- transition: LocalDateTime,
45
- offsetBefore: ZoneOffset,
46
- offsetAfter: ZoneOffset
47
- ): ZoneOffsetTransition;
48
-
49
32
  /**
50
33
  * Gets the transition instant.
51
34
  * <p>
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- of: function of() {},
9
8
  getInstant: function getInstant() {},
10
9
  toEpochSecond: function toEpochSecond() {},
11
10
  getDateTimeBefore: function getDateTimeBefore() {},
@@ -1,8 +1,7 @@
1
- import type { ZoneOffset } from "../../ZoneOffset";
2
- import type { List } from "../../../util/List";
3
-
4
1
  import type { Instant } from "../../Instant";
2
+ import type { ZoneOffset } from "../../ZoneOffset";
5
3
  import type { LocalDateTime } from "../../LocalDateTime";
4
+ import type { List } from "../../../util/List";
6
5
  import type { ZoneOffsetTransition } from "../ZoneOffsetTransition";
7
6
  import type { Duration } from "../../Duration";
8
7
  import type { Object } from "../../../lang/Object";
@@ -34,31 +33,6 @@ import type { Serializable } from "../../../io/Serializable";
34
33
  */
35
34
  export type ZoneRules = Object &
36
35
  Serializable & {
37
- /**
38
- * Obtains an instance of a ZoneRules.
39
- * @param baseStandardOffset the standard offset to use before legal rules were set, not null
40
- * @param baseWallOffset the wall offset to use before legal rules were set, not null
41
- * @param standardOffsetTransitionList the list of changes to the standard offset, not null
42
- * @param transitionList the list of transitions, not null
43
- * @param lastRules the recurring last rules, size 16 or less, not null
44
- * @return the zone rules, not null
45
- */
46
- of(
47
- baseStandardOffset: ZoneOffset,
48
- baseWallOffset: ZoneOffset,
49
- standardOffsetTransitionList: List | unknown[],
50
- transitionList: List | unknown[],
51
- lastRules: List | unknown[]
52
- ): ZoneRules;
53
-
54
- /**
55
- * Obtains an instance of ZoneRules that has fixed zone rules.
56
- * @param offset the offset this fixed zone rules is based on, not null
57
- * @return the zone rules, not null
58
- * @see #isFixedOffset()
59
- */
60
- of(offset: ZoneOffset): ZoneRules;
61
-
62
36
  /**
63
37
  * Checks of the zone rules are fixed, such that the offset never varies.
64
38
  * @return true if the time-zone is fixed and the offset never changes
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- of: function of() {},
9
8
  isFixedOffset: function isFixedOffset() {},
10
9
  getOffset: function getOffset() {},
11
10
  getValidOffsets: function getValidOffsets() {},
@@ -1,12 +1,10 @@
1
- import type { TimeZone } from "../TimeZone";
2
- import type { Locale } from "../Locale";
3
-
4
1
  import type { Date } from "../Date";
5
2
 
3
+ import type { Locale } from "../Locale";
6
4
  import type { String } from "../../lang/String";
7
5
  import type { Map } from "../Map";
8
- import type { Set } from "../Set";
9
6
  import type { Object } from "../../lang/Object";
7
+ import type { TimeZone } from "../TimeZone";
10
8
  import type { Instant } from "../../time/Instant";
11
9
  import type { Serializable } from "../../io/Serializable";
12
10
  import type { Cloneable } from "../../lang/Cloneable";
@@ -265,53 +263,6 @@ export type Calendar = Object &
265
263
  Serializable &
266
264
  Cloneable &
267
265
  Comparable & {
268
- /**
269
- * Gets a calendar using the default time zone and locale. The
270
- * <code>Calendar</code> returned is based on the current time
271
- * in the default time zone with the default
272
- * {@link Locale.Category#FORMAT FORMAT} locale.
273
- * @return a Calendar.
274
- */
275
- getInstance(): Calendar;
276
-
277
- /**
278
- * Gets a calendar using the specified time zone and default locale.
279
- * The <code>Calendar</code> returned is based on the current time
280
- * in the given time zone with the default
281
- * {@link Locale.Category#FORMAT FORMAT} locale.
282
- * @param zone the time zone to use
283
- * @return a Calendar.
284
- */
285
- getInstance(zone: TimeZone): Calendar;
286
-
287
- /**
288
- * Gets a calendar using the default time zone and specified locale.
289
- * The <code>Calendar</code> returned is based on the current time
290
- * in the default time zone with the given locale.
291
- * @param aLocale the locale for the week data
292
- * @return a Calendar.
293
- */
294
- getInstance(aLocale: Locale): Calendar;
295
-
296
- /**
297
- * Gets a calendar with the specified time zone and locale.
298
- * The <code>Calendar</code> returned is based on the current time
299
- * in the given time zone with the given locale.
300
- * @param zone the time zone to use
301
- * @param aLocale the locale for the week data
302
- * @return a Calendar.
303
- */
304
- getInstance(zone: TimeZone, aLocale: Locale): Calendar;
305
-
306
- /**
307
- * Returns an array of all locales for which the <code>getInstance</code>
308
- * methods of this class can return localized instances.
309
- * The array returned must contain at least a <code>Locale</code>
310
- * instance equal to {@link java.util.Locale#US Locale.US}.
311
- * @return An array of locales for which localized&#xA; <code>Calendar</code> instances are available.
312
- */
313
- getAvailableLocales(): Locale;
314
-
315
266
  /**
316
267
  * Converts the current calendar field values in {@link #fields fields[]}
317
268
  * to the millisecond time value
@@ -593,22 +544,6 @@ export type Calendar = Object &
593
544
  */
594
545
  complete(): void;
595
546
 
596
- /**
597
- * Returns an unmodifiable {@code Set} containing all calendar types
598
- * supported by {@code Calendar} in the runtime environment. The available
599
- * calendar types can be used for the <a
600
- * href="Locale.html#def_locale_extension">Unicode locale extensions</a>.
601
- * The {@code Set} returned contains at least {@code "gregory"}. The
602
- * calendar types don't include aliases, such as {@code "gregorian"} for
603
- * {@code "gregory"}.
604
- * @return an unmodifiable {@code Set} containing all available calendar types
605
- * @since 1.8
606
- * @see #getCalendarType()
607
- * @see Calendar.Builder#setCalendarType(String)
608
- * @see Locale#getUnicodeLocaleType(String)
609
- */
610
- getAvailableCalendarTypes(): Set;
611
-
612
547
  /**
613
548
  * Returns the calendar type of this {@code Calendar}. Calendar types are
614
549
  * defined by the <em>Unicode Locale Data Markup Language (LDML)</em>
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- getInstance: function getInstance() {},
9
- getAvailableLocales: function getAvailableLocales() {},
10
8
  computeTime: function computeTime() {},
11
9
  computeFields: function computeFields() {},
12
10
  getTime: function getTime() {},
@@ -21,7 +19,6 @@ var _default = {
21
19
  getDisplayName: function getDisplayName() {},
22
20
  getDisplayNames: function getDisplayNames() {},
23
21
  complete: function complete() {},
24
- getAvailableCalendarTypes: function getAvailableCalendarTypes() {},
25
22
  getCalendarType: function getCalendarType() {},
26
23
  equals: function equals() {},
27
24
  hashCode: function hashCode() {},
@@ -141,7 +141,7 @@ export type Comparator = {
141
141
  * @return a comparator that imposes the reverse ordering of this&#xA; comparator.
142
142
  * @since 1.8
143
143
  */
144
- reversed(): Comparator;
144
+ reversed?(): Comparator;
145
145
 
146
146
  /**
147
147
  * Returns a lexicographic-order comparator with another comparator.
@@ -156,7 +156,7 @@ export type Comparator = {
156
156
  * @throws NullPointerException if the argument is null.
157
157
  * @since 1.8
158
158
  */
159
- thenComparing(other: Comparator): Comparator;
159
+ thenComparing?(other: Comparator): Comparator;
160
160
 
161
161
  /**
162
162
  * Returns a lexicographic-order comparator with a function that
@@ -171,7 +171,7 @@ export type Comparator = {
171
171
  * @see #thenComparing(Comparator)
172
172
  * @since 1.8
173
173
  */
174
- thenComparing(keyExtractor: Function, keyComparator: Comparator): Comparator;
174
+ thenComparing?(keyExtractor: Function, keyComparator: Comparator): Comparator;
175
175
 
176
176
  /**
177
177
  * Returns a lexicographic-order comparator with a function that
@@ -185,7 +185,7 @@ export type Comparator = {
185
185
  * @see #thenComparing(Comparator)
186
186
  * @since 1.8
187
187
  */
188
- thenComparing(keyExtractor: Function): Comparator;
188
+ thenComparing?(keyExtractor: Function): Comparator;
189
189
 
190
190
  /**
191
191
  * Returns a lexicographic-order comparator with a function that
@@ -198,7 +198,7 @@ export type Comparator = {
198
198
  * @see #thenComparing(Comparator)
199
199
  * @since 1.8
200
200
  */
201
- thenComparingInt(keyExtractor: ToIntFunction): Comparator;
201
+ thenComparingInt?(keyExtractor: ToIntFunction): Comparator;
202
202
 
203
203
  /**
204
204
  * Returns a lexicographic-order comparator with a function that
@@ -211,7 +211,7 @@ export type Comparator = {
211
211
  * @see #thenComparing(Comparator)
212
212
  * @since 1.8
213
213
  */
214
- thenComparingLong(keyExtractor: ToLongFunction): Comparator;
214
+ thenComparingLong?(keyExtractor: ToLongFunction): Comparator;
215
215
 
216
216
  /**
217
217
  * Returns a lexicographic-order comparator with a function that
@@ -224,7 +224,7 @@ export type Comparator = {
224
224
  * @see #thenComparing(Comparator)
225
225
  * @since 1.8
226
226
  */
227
- thenComparingDouble(keyExtractor: ToDoubleFunction): Comparator;
227
+ thenComparingDouble?(keyExtractor: ToDoubleFunction): Comparator;
228
228
 
229
229
  /**
230
230
  * Returns a comparator that imposes the reverse of the <em>natural
@@ -237,7 +237,7 @@ export type Comparator = {
237
237
  * @see Comparable
238
238
  * @since 1.8
239
239
  */
240
- reverseOrder(): Comparator;
240
+ reverseOrder?(): Comparator;
241
241
 
242
242
  /**
243
243
  * Returns a comparator that compares {@link Comparable} objects in natural
@@ -250,7 +250,7 @@ export type Comparator = {
250
250
  * @see Comparable
251
251
  * @since 1.8
252
252
  */
253
- naturalOrder(): Comparator;
253
+ naturalOrder?(): Comparator;
254
254
 
255
255
  /**
256
256
  * Returns a null-friendly comparator that considers {@code null} to be
@@ -266,7 +266,7 @@ export type Comparator = {
266
266
  * @return a comparator that considers {@code null} to be less than&#xA; non-null, and compares non-null objects with the supplied&#xA; {@code Comparator}.
267
267
  * @since 1.8
268
268
  */
269
- nullsFirst(comparator: Comparator): Comparator;
269
+ nullsFirst?(comparator: Comparator): Comparator;
270
270
 
271
271
  /**
272
272
  * Returns a null-friendly comparator that considers {@code null} to be
@@ -282,7 +282,7 @@ export type Comparator = {
282
282
  * @return a comparator that considers {@code null} to be greater than&#xA; non-null, and compares non-null objects with the supplied&#xA; {@code Comparator}.
283
283
  * @since 1.8
284
284
  */
285
- nullsLast(comparator: Comparator): Comparator;
285
+ nullsLast?(comparator: Comparator): Comparator;
286
286
 
287
287
  /**
288
288
  * Accepts a function that extracts a sort key from a type {@code T}, and
@@ -300,7 +300,7 @@ export type Comparator = {
300
300
  * @throws NullPointerException if either argument is null
301
301
  * @since 1.8
302
302
  */
303
- comparing(keyExtractor: Function, keyComparator: Comparator): Comparator;
303
+ comparing?(keyExtractor: Function, keyComparator: Comparator): Comparator;
304
304
 
305
305
  /**
306
306
  * Accepts a function that extracts a {@link java.lang.Comparable
@@ -317,7 +317,7 @@ export type Comparator = {
317
317
  * @throws NullPointerException if the argument is null
318
318
  * @since 1.8
319
319
  */
320
- comparing(keyExtractor: Function): Comparator;
320
+ comparing?(keyExtractor: Function): Comparator;
321
321
 
322
322
  /**
323
323
  * Accepts a function that extracts an {@code int} sort key from a type
@@ -333,7 +333,7 @@ export type Comparator = {
333
333
  * @throws NullPointerException if the argument is null
334
334
  * @since 1.8
335
335
  */
336
- comparingInt(keyExtractor: ToIntFunction): Comparator;
336
+ comparingInt?(keyExtractor: ToIntFunction): Comparator;
337
337
 
338
338
  /**
339
339
  * Accepts a function that extracts a {@code long} sort key from a type
@@ -349,7 +349,7 @@ export type Comparator = {
349
349
  * @throws NullPointerException if the argument is null
350
350
  * @since 1.8
351
351
  */
352
- comparingLong(keyExtractor: ToLongFunction): Comparator;
352
+ comparingLong?(keyExtractor: ToLongFunction): Comparator;
353
353
 
354
354
  /**
355
355
  * Accepts a function that extracts a {@code double} sort key from a type
@@ -365,5 +365,5 @@ export type Comparator = {
365
365
  * @throws NullPointerException if the argument is null
366
366
  * @since 1.8
367
367
  */
368
- comparingDouble(keyExtractor: ToDoubleFunction): Comparator;
368
+ comparingDouble?(keyExtractor: ToDoubleFunction): Comparator;
369
369
  };
@@ -1,6 +1,5 @@
1
1
  import type { String } from "../../lang/String";
2
2
  import type { Locale } from "../Locale";
3
- import type { Set } from "../Set";
4
3
 
5
4
  import type { Object } from "../../lang/Object";
6
5
  import type { Serializable } from "../../io/Serializable";
@@ -55,43 +54,6 @@ import type { Serializable } from "../../io/Serializable";
55
54
  */
56
55
  export type Currency = Object &
57
56
  Serializable & {
58
- /**
59
- * Returns the <code>Currency</code> instance for the given currency code.
60
- * @param currencyCode the ISO 4217 code of the currency
61
- * @return the <code>Currency</code> instance for the given currency code
62
- * @throws NullPointerException if <code>currencyCode</code> is null
63
- * @throws IllegalArgumentException if <code>currencyCode</code> is not&#xA; a supported ISO 4217 code.
64
- */
65
- getInstance(currencyCode: String | string): Currency;
66
-
67
- /**
68
- * Returns the <code>Currency</code> instance for the country of the
69
- * given locale. The language and variant components of the locale
70
- * are ignored. The result may vary over time, as countries change their
71
- * currencies. For example, for the original member countries of the
72
- * European Monetary Union, the method returns the old national currencies
73
- * until December 31, 2001, and the Euro from January 1, 2002, local time
74
- * of the respective countries.
75
- * <p>
76
- * The method returns <code>null</code> for territories that don't
77
- * have a currency, such as Antarctica.
78
- * @param locale the locale for whose country a <code>Currency</code>&#xA; instance is needed
79
- * @return the <code>Currency</code> instance for the country of the given&#xA; locale, or {@code null}
80
- * @throws NullPointerException if <code>locale</code> or its country&#xA; code is {@code null}
81
- * @throws IllegalArgumentException if the country of the given {@code locale}&#xA; is not a supported ISO 3166 country code.
82
- */
83
- getInstance(locale: Locale): Currency;
84
-
85
- /**
86
- * Gets the set of available currencies. The returned set of currencies
87
- * contains all of the available currencies, which may include currencies
88
- * that represent obsolete ISO 4217 codes. The set can be modified
89
- * without affecting the available currencies in the runtime.
90
- * @return the set of available currencies. If there is no currency&#xA; available in the runtime, the returned set is empty.
91
- * @since 1.7
92
- */
93
- getAvailableCurrencies(): Set;
94
-
95
57
  /**
96
58
  * Gets the ISO 4217 currency code of this currency.
97
59
  * @return the ISO 4217 currency code of this currency.
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- getInstance: function getInstance() {},
9
- getAvailableCurrencies: function getAvailableCurrencies() {},
10
8
  getCurrencyCode: function getCurrencyCode() {},
11
9
  getSymbol: function getSymbol() {},
12
10
  getDefaultFractionDigits: function getDefaultFractionDigits() {},
@@ -1,7 +1,6 @@
1
1
  import type { Object } from "../../lang/Object";
2
2
 
3
3
  import type { String } from "../../lang/String";
4
-
5
4
  import type { Instant } from "../../time/Instant";
6
5
  import type { Serializable } from "../../io/Serializable";
7
6
  import type { Cloneable } from "../../lang/Cloneable";
@@ -104,146 +103,6 @@ export type Date = Object &
104
103
  */
105
104
  clone(): unknown;
106
105
 
107
- /**
108
- * Determines the date and time based on the arguments. The
109
- * arguments are interpreted as a year, month, day of the month,
110
- * hour of the day, minute within the hour, and second within the
111
- * minute, exactly as for the <tt>Date</tt> constructor with six
112
- * arguments, except that the arguments are interpreted relative
113
- * to UTC rather than to the local time zone. The time indicated is
114
- * returned represented as the distance, measured in milliseconds,
115
- * of that time from the epoch (00:00:00 GMT on January 1, 1970).
116
- * @param year the year minus 1900.
117
- * @param month the month between 0-11.
118
- * @param date the day of the month between 1-31.
119
- * @param hrs the hours between 0-23.
120
- * @param min the minutes between 0-59.
121
- * @param sec the seconds between 0-59.
122
- * @return the number of milliseconds since January 1, 1970, 00:00:00 GMT for&#xA; the date and time specified by the arguments.
123
- * @see java.util.Calendar
124
- * @deprecated As of JDK version 1.1,&#xA; replaced by <code>Calendar.set(year + 1900, month, date,&#xA; hrs, min, sec)</code> or <code>GregorianCalendar(year + 1900,&#xA; month, date, hrs, min, sec)</code>, using a UTC&#xA; <code>TimeZone</code>, followed by <code>Calendar.getTime().getTime()</code>.
125
- */
126
- UTC(
127
- year: number,
128
- month: number,
129
- date: number,
130
- hrs: number,
131
- min: number,
132
- sec: number
133
- ): number;
134
-
135
- /**
136
- * Attempts to interpret the string <tt>s</tt> as a representation
137
- * of a date and time. If the attempt is successful, the time
138
- * indicated is returned represented as the distance, measured in
139
- * milliseconds, of that time from the epoch (00:00:00 GMT on
140
- * January 1, 1970). If the attempt fails, an
141
- * <tt>IllegalArgumentException</tt> is thrown.
142
- * <p>
143
- * It accepts many syntaxes; in particular, it recognizes the IETF
144
- * standard date syntax: "Sat, 12 Aug 1995 13:30:00 GMT". It also
145
- * understands the continental U.S. time-zone abbreviations, but for
146
- * general use, a time-zone offset should be used: "Sat, 12 Aug 1995
147
- * 13:30:00 GMT+0430" (4 hours, 30 minutes west of the Greenwich
148
- * meridian). If no time zone is specified, the local time zone is
149
- * assumed. GMT and UTC are considered equivalent.
150
- * <p>
151
- * The string <tt>s</tt> is processed from left to right, looking for
152
- * data of interest. Any material in <tt>s</tt> that is within the
153
- * ASCII parenthesis characters <tt>(</tt> and <tt>)</tt> is ignored.
154
- * Parentheses may be nested. Otherwise, the only characters permitted
155
- * within <tt>s</tt> are these ASCII characters:
156
- * <blockquote><pre>
157
- * abcdefghijklmnopqrstuvwxyz
158
- * ABCDEFGHIJKLMNOPQRSTUVWXYZ
159
- * 0123456789,+-:/</pre></blockquote>
160
- * and whitespace characters.<p>
161
- * A consecutive sequence of decimal digits is treated as a decimal
162
- * number:<ul>
163
- * <li>If a number is preceded by <tt>+</tt> or <tt>-</tt> and a year
164
- * has already been recognized, then the number is a time-zone
165
- * offset. If the number is less than 24, it is an offset measured
166
- * in hours. Otherwise, it is regarded as an offset in minutes,
167
- * expressed in 24-hour time format without punctuation. A
168
- * preceding <tt>-</tt> means a westward offset. Time zone offsets
169
- * are always relative to UTC (Greenwich). Thus, for example,
170
- * <tt>-5</tt> occurring in the string would mean "five hours west
171
- * of Greenwich" and <tt>+0430</tt> would mean "four hours and
172
- * thirty minutes east of Greenwich." It is permitted for the
173
- * string to specify <tt>GMT</tt>, <tt>UT</tt>, or <tt>UTC</tt>
174
- * redundantly-for example, <tt>GMT-5</tt> or <tt>utc+0430</tt>.
175
- * <li>The number is regarded as a year number if one of the
176
- * following conditions is true:
177
- * <ul>
178
- * <li>The number is equal to or greater than 70 and followed by a
179
- * space, comma, slash, or end of string
180
- * <li>The number is less than 70, and both a month and a day of
181
- * the month have already been recognized</li>
182
- * </ul>
183
- * If the recognized year number is less than 100, it is
184
- * interpreted as an abbreviated year relative to a century of
185
- * which dates are within 80 years before and 19 years after
186
- * the time when the Date class is initialized.
187
- * After adjusting the year number, 1900 is subtracted from
188
- * it. For example, if the current year is 1999 then years in
189
- * the range 19 to 99 are assumed to mean 1919 to 1999, while
190
- * years from 0 to 18 are assumed to mean 2000 to 2018. Note
191
- * that this is slightly different from the interpretation of
192
- * years less than 100 that is used in {@link java.text.SimpleDateFormat}.
193
- * <li>If the number is followed by a colon, it is regarded as an hour,
194
- * unless an hour has already been recognized, in which case it is
195
- * regarded as a minute.
196
- * <li>If the number is followed by a slash, it is regarded as a month
197
- * (it is decreased by 1 to produce a number in the range <tt>0</tt>
198
- * to <tt>11</tt>), unless a month has already been recognized, in
199
- * which case it is regarded as a day of the month.
200
- * <li>If the number is followed by whitespace, a comma, a hyphen, or
201
- * end of string, then if an hour has been recognized but not a
202
- * minute, it is regarded as a minute; otherwise, if a minute has
203
- * been recognized but not a second, it is regarded as a second;
204
- * otherwise, it is regarded as a day of the month. </ul><p>
205
- * A consecutive sequence of letters is regarded as a word and treated
206
- * as follows:<ul>
207
- * <li>A word that matches <tt>AM</tt>, ignoring case, is ignored (but
208
- * the parse fails if an hour has not been recognized or is less
209
- * than <tt>1</tt> or greater than <tt>12</tt>).
210
- * <li>A word that matches <tt>PM</tt>, ignoring case, adds <tt>12</tt>
211
- * to the hour (but the parse fails if an hour has not been
212
- * recognized or is less than <tt>1</tt> or greater than <tt>12</tt>).
213
- * <li>Any word that matches any prefix of <tt>SUNDAY, MONDAY, TUESDAY,
214
- * WEDNESDAY, THURSDAY, FRIDAY</tt>, or <tt>SATURDAY</tt>, ignoring
215
- * case, is ignored. For example, <tt>sat, Friday, TUE</tt>, and
216
- * <tt>Thurs</tt> are ignored.
217
- * <li>Otherwise, any word that matches any prefix of <tt>JANUARY,
218
- * FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER,
219
- * OCTOBER, NOVEMBER</tt>, or <tt>DECEMBER</tt>, ignoring case, and
220
- * considering them in the order given here, is recognized as
221
- * specifying a month and is converted to a number (<tt>0</tt> to
222
- * <tt>11</tt>). For example, <tt>aug, Sept, april</tt>, and
223
- * <tt>NOV</tt> are recognized as months. So is <tt>Ma</tt>, which
224
- * is recognized as <tt>MARCH</tt>, not <tt>MAY</tt>.
225
- * <li>Any word that matches <tt>GMT, UT</tt>, or <tt>UTC</tt>, ignoring
226
- * case, is treated as referring to UTC.
227
- * <li>Any word that matches <tt>EST, CST, MST</tt>, or <tt>PST</tt>,
228
- * ignoring case, is recognized as referring to the time zone in
229
- * North America that is five, six, seven, or eight hours west of
230
- * Greenwich, respectively. Any word that matches <tt>EDT, CDT,
231
- * MDT</tt>, or <tt>PDT</tt>, ignoring case, is recognized as
232
- * referring to the same time zone, respectively, during daylight
233
- * saving time.</ul><p>
234
- * Once the entire string s has been scanned, it is converted to a time
235
- * result in one of two ways. If a time zone or time-zone offset has been
236
- * recognized, then the year, month, day of month, hour, minute, and
237
- * second are interpreted in UTC and then the time-zone offset is
238
- * applied. Otherwise, the year, month, day of month, hour, minute, and
239
- * second are interpreted in the local time zone.
240
- * @param s a string to be parsed as a date.
241
- * @return the number of milliseconds since January 1, 1970, 00:00:00 GMT&#xA; represented by the string argument.
242
- * @see java.text.DateFormat
243
- * @deprecated As of JDK version 1.1,&#xA; replaced by <code>DateFormat.parse(String s)</code>.
244
- */
245
- parse(s: String | string): number;
246
-
247
106
  /**
248
107
  * Returns a value that is the result of subtracting 1900 from the
249
108
  * year that contains or begins with the instant in time represented
@@ -578,25 +437,6 @@ export type Date = Object &
578
437
  */
579
438
  getTimezoneOffset(): number;
580
439
 
581
- /**
582
- * Obtains an instance of {@code Date} from an {@code Instant} object.
583
- * <p>
584
- * {@code Instant} uses a precision of nanoseconds, whereas {@code Date}
585
- * uses a precision of milliseconds. The conversion will trancate any
586
- * excess precision information as though the amount in nanoseconds was
587
- * subject to integer division by one million.
588
- * <p>
589
- * {@code Instant} can store points on the time-line further in the future
590
- * and further in the past than {@code Date}. In this scenario, this method
591
- * will throw an exception.
592
- * @param instant the instant to convert
593
- * @return a {@code Date} representing the same point on the time-line as&#xA; the provided instant
594
- * @throws NullPointerException if {@code instant} is null.
595
- * @throws IllegalArgumentException if the instant is too large to&#xA; represent as a {@code Date}
596
- * @since 1.8
597
- */
598
- from(instant: Instant): Date;
599
-
600
440
  /**
601
441
  * Converts this {@code Date} object to an {@code Instant}.
602
442
  * <p>
@@ -6,8 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
8
  clone: function clone() {},
9
- UTC: function UTC() {},
10
- parse: function parse() {},
11
9
  getYear: function getYear() {},
12
10
  setYear: function setYear() {},
13
11
  getMonth: function getMonth() {},
@@ -32,7 +30,6 @@ var _default = {
32
30
  toLocaleString: function toLocaleString() {},
33
31
  toGMTString: function toGMTString() {},
34
32
  getTimezoneOffset: function getTimezoneOffset() {},
35
- from: function from() {},
36
33
  toInstant: function toInstant() {}
37
34
  };
38
35
  exports["default"] = _default;