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

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 (125) hide show
  1. package/package.json +1 -1
  2. package/types/java/io/File/index.d.ts +0 -120
  3. package/types/java/io/File/index.js +0 -2
  4. package/types/java/lang/Boolean/index.d.ts +0 -123
  5. package/types/java/lang/Boolean/index.js +1 -8
  6. package/types/java/lang/Class/index.d.ts +2 -93
  7. package/types/java/lang/Class/index.js +0 -1
  8. package/types/java/lang/ClassLoader/index.d.ts +0 -91
  9. package/types/java/lang/ClassLoader/index.js +0 -5
  10. package/types/java/lang/Double/index.d.ts +0 -541
  11. package/types/java/lang/Double/index.js +2 -13
  12. package/types/java/lang/Enum/index.d.ts +0 -23
  13. package/types/java/lang/Enum/index.js +0 -1
  14. package/types/java/lang/Float/index.d.ts +0 -494
  15. package/types/java/lang/Float/index.js +2 -13
  16. package/types/java/lang/Integer/index.d.ts +0 -780
  17. package/types/java/lang/Integer/index.js +2 -29
  18. package/types/java/lang/Long/index.d.ts +0 -788
  19. package/types/java/lang/Long/index.js +2 -28
  20. package/types/java/lang/Package/index.d.ts +0 -28
  21. package/types/java/lang/Package/index.js +0 -2
  22. package/types/java/lang/String/index.d.ts +0 -193
  23. package/types/java/lang/String/index.js +0 -4
  24. package/types/java/lang/reflect/AccessibleObject/index.d.ts +0 -25
  25. package/types/java/math/BigDecimal/index.d.ts +1 -40
  26. package/types/java/math/BigDecimal/index.js +0 -1
  27. package/types/java/math/BigInteger/index.d.ts +0 -25
  28. package/types/java/math/BigInteger/index.js +0 -2
  29. package/types/java/net/InetAddress/index.d.ts +0 -134
  30. package/types/java/net/InetAddress/index.js +1 -6
  31. package/types/java/net/NetworkInterface/index.d.ts +0 -50
  32. package/types/java/net/NetworkInterface/index.js +0 -4
  33. package/types/java/net/URI/index.d.ts +0 -22
  34. package/types/java/net/URI/index.js +0 -1
  35. package/types/java/net/URL/index.d.ts +0 -23
  36. package/types/java/net/URL/index.js +1 -2
  37. package/types/java/net/URLConnection/index.d.ts +0 -125
  38. package/types/java/net/URLConnection/index.js +1 -10
  39. package/types/java/nio/channels/AsynchronousFileChannel/index.d.ts +0 -136
  40. package/types/java/nio/channels/AsynchronousFileChannel/index.js +0 -1
  41. package/types/java/nio/channels/FileChannel/index.d.ts +0 -128
  42. package/types/java/nio/channels/FileChannel/index.js +0 -1
  43. package/types/java/nio/charset/Charset/index.d.ts +1 -58
  44. package/types/java/nio/charset/Charset/index.js +0 -4
  45. package/types/java/nio/file/spi/FileSystemProvider/index.d.ts +0 -12
  46. package/types/java/nio/file/spi/FileSystemProvider/index.js +0 -1
  47. package/types/java/text/DateFormat/index.d.ts +0 -130
  48. package/types/java/text/DateFormat/index.js +0 -5
  49. package/types/java/text/DateFormatSymbols/index.d.ts +0 -45
  50. package/types/java/text/DateFormatSymbols/index.js +0 -2
  51. package/types/java/text/NumberFormat/index.d.ts +0 -123
  52. package/types/java/text/NumberFormat/index.js +0 -6
  53. package/types/java/time/Clock/index.d.ts +1 -162
  54. package/types/java/time/Clock/index.js +0 -8
  55. package/types/java/time/Duration/index.d.ts +3 -193
  56. package/types/java/time/Duration/index.js +0 -10
  57. package/types/java/time/Instant/index.d.ts +0 -101
  58. package/types/java/time/Instant/index.js +0 -5
  59. package/types/java/time/LocalDate/index.d.ts +4 -134
  60. package/types/java/time/LocalDate/index.js +0 -6
  61. package/types/java/time/LocalDateTime/index.d.ts +7 -285
  62. package/types/java/time/LocalDateTime/index.js +0 -6
  63. package/types/java/time/LocalTime/index.d.ts +2 -146
  64. package/types/java/time/LocalTime/index.js +0 -6
  65. package/types/java/time/OffsetDateTime/index.d.ts +7 -177
  66. package/types/java/time/OffsetDateTime/index.js +0 -6
  67. package/types/java/time/OffsetTime/index.d.ts +3 -141
  68. package/types/java/time/OffsetTime/index.js +0 -5
  69. package/types/java/time/Period/index.d.ts +1 -135
  70. package/types/java/time/Period/index.js +0 -8
  71. package/types/java/time/ZoneId/index.d.ts +1 -121
  72. package/types/java/time/ZoneId/index.js +0 -5
  73. package/types/java/time/ZoneOffset/index.d.ts +1 -104
  74. package/types/java/time/ZoneOffset/index.js +0 -6
  75. package/types/java/time/ZonedDateTime/index.d.ts +6 -284
  76. package/types/java/time/ZonedDateTime/index.js +0 -7
  77. package/types/java/time/format/DateTimeFormatter/index.d.ts +2 -215
  78. package/types/java/time/format/DateTimeFormatter/index.js +0 -6
  79. package/types/java/time/format/DecimalStyle/index.d.ts +0 -34
  80. package/types/java/time/format/DecimalStyle/index.js +0 -3
  81. package/types/java/time/temporal/ValueRange/index.d.ts +0 -43
  82. package/types/java/time/temporal/ValueRange/index.js +0 -1
  83. package/types/java/time/zone/ZoneOffsetTransition/index.d.ts +2 -19
  84. package/types/java/time/zone/ZoneOffsetTransition/index.js +0 -1
  85. package/types/java/time/zone/ZoneRules/index.d.ts +2 -28
  86. package/types/java/time/zone/ZoneRules/index.js +0 -1
  87. package/types/java/util/Calendar/index.d.ts +2 -67
  88. package/types/java/util/Calendar/index.js +0 -3
  89. package/types/java/util/Comparator/index.d.ts +16 -16
  90. package/types/java/util/Currency/index.d.ts +0 -38
  91. package/types/java/util/Currency/index.js +0 -2
  92. package/types/java/util/Date/index.d.ts +0 -160
  93. package/types/java/util/Date/index.js +0 -3
  94. package/types/java/util/Locale/index.d.ts +0 -344
  95. package/types/java/util/Locale/index.js +1 -11
  96. package/types/java/util/Optional/index.d.ts +0 -27
  97. package/types/java/util/Optional/index.js +0 -3
  98. package/types/java/util/OptionalDouble/index.d.ts +0 -15
  99. package/types/java/util/OptionalDouble/index.js +0 -2
  100. package/types/java/util/OptionalInt/index.d.ts +0 -15
  101. package/types/java/util/OptionalInt/index.js +0 -2
  102. package/types/java/util/OptionalLong/index.d.ts +0 -15
  103. package/types/java/util/OptionalLong/index.js +0 -2
  104. package/types/java/util/TimeZone/index.d.ts +0 -65
  105. package/types/java/util/TimeZone/index.js +0 -4
  106. package/types/javax/jcr/PropertyType/index.d.ts +2 -18
  107. package/types/javax/jcr/PropertyType/index.js +1 -4
  108. package/types/javax/jcr/version/OnParentVersionAction/index.d.ts +2 -19
  109. package/types/javax/jcr/version/OnParentVersionAction/index.js +1 -4
  110. package/types/java/net/ContentHandler/index.d.ts +0 -70
  111. package/types/java/net/ContentHandler/index.js +0 -10
  112. package/types/java/net/ContentHandlerFactory/index.d.ts +0 -26
  113. package/types/java/net/ContentHandlerFactory/index.js +0 -10
  114. package/types/java/net/FileNameMap/index.d.ts +0 -16
  115. package/types/java/net/FileNameMap/index.js +0 -10
  116. package/types/java/net/URLStreamHandler/index.d.ts +0 -199
  117. package/types/java/net/URLStreamHandler/index.js +0 -19
  118. package/types/java/net/URLStreamHandlerFactory/index.d.ts +0 -24
  119. package/types/java/net/URLStreamHandlerFactory/index.js +0 -10
  120. package/types/java/time/format/FormatStyle/index.d.ts +0 -14
  121. package/types/java/time/format/FormatStyle/index.js +0 -13
  122. package/types/java/util/Locale.Category/index.d.ts +0 -12
  123. package/types/java/util/Locale.Category/index.js +0 -11
  124. package/types/java/util/Locale.FilteringMode/index.d.ts +0 -97
  125. package/types/java/util/Locale.FilteringMode/index.js +0 -14
@@ -1,7 +1,4 @@
1
- import type { String } from "../../../lang/String";
2
1
  import type { Locale } from "../../../util/Locale";
3
- import type { FormatStyle } from "../FormatStyle";
4
- import type { TemporalQuery } from "../../temporal/TemporalQuery";
5
2
  import type { DecimalStyle } from "../DecimalStyle";
6
3
  import type { Chronology } from "../../chrono/Chronology";
7
4
  import type { ZoneId } from "../../ZoneId";
@@ -9,10 +6,12 @@ import type { ResolverStyle } from "../ResolverStyle";
9
6
  import type { Set } from "../../../util/Set";
10
7
  import type { TemporalField } from "../../temporal/TemporalField";
11
8
  import type { TemporalAccessor } from "../../temporal/TemporalAccessor";
9
+ import type { String } from "../../../lang/String";
12
10
  import type { Appendable } from "../../../lang/Appendable";
13
11
 
14
12
  import type { CharSequence } from "../../../lang/CharSequence";
15
13
  import type { ParsePosition } from "../../../text/ParsePosition";
14
+ import type { TemporalQuery } from "../../temporal/TemporalQuery";
16
15
 
17
16
  import type { Format } from "../../../text/Format";
18
17
  import type { Object } from "../../../lang/Object";
@@ -398,218 +397,6 @@ import type { Object } from "../../../lang/Object";
398
397
  * @since 1.8
399
398
  */
400
399
  export type DateTimeFormatter = Object & {
401
- /**
402
- * Creates a formatter using the specified pattern.
403
- * <p>
404
- * This method will create a formatter based on a simple
405
- * <a href="#patterns">pattern of letters and symbols</a>
406
- * as described in the class documentation.
407
- * For example, {@code d MMM uuuu} will format 2011-12-03 as '3 Dec 2011'.
408
- * <p>
409
- * The formatter will use the {@link Locale#getDefault(Locale.Category) default FORMAT locale}.
410
- * This can be changed using {@link DateTimeFormatter#withLocale(Locale)} on the returned formatter
411
- * Alternatively use the {@link #ofPattern(String, Locale)} variant of this method.
412
- * <p>
413
- * The returned formatter has no override chronology or zone.
414
- * It uses {@link ResolverStyle#SMART SMART} resolver style.
415
- * @param pattern the pattern to use, not null
416
- * @return the formatter based on the pattern, not null
417
- * @throws IllegalArgumentException if the pattern is invalid
418
- * @see DateTimeFormatterBuilder#appendPattern(String)
419
- */
420
- ofPattern(pattern: String | string): DateTimeFormatter;
421
-
422
- /**
423
- * Creates a formatter using the specified pattern and locale.
424
- * <p>
425
- * This method will create a formatter based on a simple
426
- * <a href="#patterns">pattern of letters and symbols</a>
427
- * as described in the class documentation.
428
- * For example, {@code d MMM uuuu} will format 2011-12-03 as '3 Dec 2011'.
429
- * <p>
430
- * The formatter will use the specified locale.
431
- * This can be changed using {@link DateTimeFormatter#withLocale(Locale)} on the returned formatter
432
- * <p>
433
- * The returned formatter has no override chronology or zone.
434
- * It uses {@link ResolverStyle#SMART SMART} resolver style.
435
- * @param pattern the pattern to use, not null
436
- * @param locale the locale to use, not null
437
- * @return the formatter based on the pattern, not null
438
- * @throws IllegalArgumentException if the pattern is invalid
439
- * @see DateTimeFormatterBuilder#appendPattern(String)
440
- */
441
- ofPattern(pattern: String | string, locale: Locale): DateTimeFormatter;
442
-
443
- /**
444
- * Returns a locale specific date format for the ISO chronology.
445
- * <p>
446
- * This returns a formatter that will format or parse a date.
447
- * The exact format pattern used varies by locale.
448
- * <p>
449
- * The locale is determined from the formatter. The formatter returned directly by
450
- * this method will use the {@link Locale#getDefault(Locale.Category) default FORMAT locale}.
451
- * The locale can be controlled using {@link DateTimeFormatter#withLocale(Locale) withLocale(Locale)}
452
- * on the result of this method.
453
- * <p>
454
- * Note that the localized pattern is looked up lazily.
455
- * This {@code DateTimeFormatter} holds the style required and the locale,
456
- * looking up the pattern required on demand.
457
- * <p>
458
- * The returned formatter has a chronology of ISO set to ensure dates in
459
- * other calendar systems are correctly converted.
460
- * It has no override zone and uses the {@link ResolverStyle#SMART SMART} resolver style.
461
- * @param dateStyle the formatter style to obtain, not null
462
- * @return the date formatter, not null
463
- */
464
- ofLocalizedDate(dateStyle: FormatStyle): DateTimeFormatter;
465
-
466
- /**
467
- * Returns a locale specific time format for the ISO chronology.
468
- * <p>
469
- * This returns a formatter that will format or parse a time.
470
- * The exact format pattern used varies by locale.
471
- * <p>
472
- * The locale is determined from the formatter. The formatter returned directly by
473
- * this method will use the {@link Locale#getDefault(Locale.Category) default FORMAT locale}.
474
- * The locale can be controlled using {@link DateTimeFormatter#withLocale(Locale) withLocale(Locale)}
475
- * on the result of this method.
476
- * <p>
477
- * Note that the localized pattern is looked up lazily.
478
- * This {@code DateTimeFormatter} holds the style required and the locale,
479
- * looking up the pattern required on demand.
480
- * <p>
481
- * The returned formatter has a chronology of ISO set to ensure dates in
482
- * other calendar systems are correctly converted.
483
- * It has no override zone and uses the {@link ResolverStyle#SMART SMART} resolver style.
484
- * @param timeStyle the formatter style to obtain, not null
485
- * @return the time formatter, not null
486
- */
487
- ofLocalizedTime(timeStyle: FormatStyle): DateTimeFormatter;
488
-
489
- /**
490
- * Returns a locale specific date-time formatter for the ISO chronology.
491
- * <p>
492
- * This returns a formatter that will format or parse a date-time.
493
- * The exact format pattern used varies by locale.
494
- * <p>
495
- * The locale is determined from the formatter. The formatter returned directly by
496
- * this method will use the {@link Locale#getDefault(Locale.Category) default FORMAT locale}.
497
- * The locale can be controlled using {@link DateTimeFormatter#withLocale(Locale) withLocale(Locale)}
498
- * on the result of this method.
499
- * <p>
500
- * Note that the localized pattern is looked up lazily.
501
- * This {@code DateTimeFormatter} holds the style required and the locale,
502
- * looking up the pattern required on demand.
503
- * <p>
504
- * The returned formatter has a chronology of ISO set to ensure dates in
505
- * other calendar systems are correctly converted.
506
- * It has no override zone and uses the {@link ResolverStyle#SMART SMART} resolver style.
507
- * @param dateTimeStyle the formatter style to obtain, not null
508
- * @return the date-time formatter, not null
509
- */
510
- ofLocalizedDateTime(dateTimeStyle: FormatStyle): DateTimeFormatter;
511
-
512
- /**
513
- * Returns a locale specific date and time format for the ISO chronology.
514
- * <p>
515
- * This returns a formatter that will format or parse a date-time.
516
- * The exact format pattern used varies by locale.
517
- * <p>
518
- * The locale is determined from the formatter. The formatter returned directly by
519
- * this method will use the {@link Locale#getDefault() default FORMAT locale}.
520
- * The locale can be controlled using {@link DateTimeFormatter#withLocale(Locale) withLocale(Locale)}
521
- * on the result of this method.
522
- * <p>
523
- * Note that the localized pattern is looked up lazily.
524
- * This {@code DateTimeFormatter} holds the style required and the locale,
525
- * looking up the pattern required on demand.
526
- * <p>
527
- * The returned formatter has a chronology of ISO set to ensure dates in
528
- * other calendar systems are correctly converted.
529
- * It has no override zone and uses the {@link ResolverStyle#SMART SMART} resolver style.
530
- * @param dateStyle the date formatter style to obtain, not null
531
- * @param timeStyle the time formatter style to obtain, not null
532
- * @return the date, time or date-time formatter, not null
533
- */
534
- ofLocalizedDateTime(
535
- dateStyle: FormatStyle,
536
- timeStyle: FormatStyle
537
- ): DateTimeFormatter;
538
-
539
- /**
540
- * A query that provides access to the excess days that were parsed.
541
- * <p>
542
- * This returns a singleton {@linkplain TemporalQuery query} that provides
543
- * access to additional information from the parse. The query always returns
544
- * a non-null period, with a zero period returned instead of null.
545
- * <p>
546
- * There are two situations where this query may return a non-zero period.
547
- * <ul>
548
- * <li>If the {@code ResolverStyle} is {@code LENIENT} and a time is parsed
549
- * without a date, then the complete result of the parse consists of a
550
- * {@code LocalTime} and an excess {@code Period} in days.
551
- *
552
- * <li>If the {@code ResolverStyle} is {@code SMART} and a time is parsed
553
- * without a date where the time is 24:00:00, then the complete result of
554
- * the parse consists of a {@code LocalTime} of 00:00:00 and an excess
555
- * {@code Period} of one day.
556
- * </ul>
557
- * <p>
558
- * In both cases, if a complete {@code ChronoLocalDateTime} or {@code Instant}
559
- * is parsed, then the excess days are added to the date part.
560
- * As a result, this query will return a zero period.
561
- * <p>
562
- * The {@code SMART} behaviour handles the common "end of day" 24:00 value.
563
- * Processing in {@code LENIENT} mode also produces the same result:
564
- * <pre>
565
- * Text to parse Parsed object Excess days
566
- * "2012-12-03T00:00" LocalDateTime.of(2012, 12, 3, 0, 0) ZERO
567
- * "2012-12-03T24:00" LocalDateTime.of(2012, 12, 4, 0, 0) ZERO
568
- * "00:00" LocalTime.of(0, 0) ZERO
569
- * "24:00" LocalTime.of(0, 0) Period.ofDays(1)
570
- * </pre>
571
- * The query can be used as follows:
572
- * <pre>
573
- * TemporalAccessor parsed = formatter.parse(str);
574
- * LocalTime time = parsed.query(LocalTime::from);
575
- * Period extraDays = parsed.query(DateTimeFormatter.parsedExcessDays());
576
- * </pre>
577
- * @return a query that provides access to the excess days that were parsed
578
- */
579
- parsedExcessDays(): TemporalQuery;
580
-
581
- /**
582
- * A query that provides access to whether a leap-second was parsed.
583
- * <p>
584
- * This returns a singleton {@linkplain TemporalQuery query} that provides
585
- * access to additional information from the parse. The query always returns
586
- * a non-null boolean, true if parsing saw a leap-second, false if not.
587
- * <p>
588
- * Instant parsing handles the special "leap second" time of '23:59:60'.
589
- * Leap seconds occur at '23:59:60' in the UTC time-zone, but at other
590
- * local times in different time-zones. To avoid this potential ambiguity,
591
- * the handling of leap-seconds is limited to
592
- * {@link DateTimeFormatterBuilder#appendInstant()}, as that method
593
- * always parses the instant with the UTC zone offset.
594
- * <p>
595
- * If the time '23:59:60' is received, then a simple conversion is applied,
596
- * replacing the second-of-minute of 60 with 59. This query can be used
597
- * on the parse result to determine if the leap-second adjustment was made.
598
- * The query will return {@code true} if it did adjust to remove the
599
- * leap-second, and {@code false} if not. Note that applying a leap-second
600
- * smoothing mechanism, such as UTC-SLS, is the responsibility of the
601
- * application, as follows:
602
- * <pre>
603
- * TemporalAccessor parsed = formatter.parse(str);
604
- * Instant instant = parsed.query(Instant::from);
605
- * if (parsed.query(DateTimeFormatter.parsedLeapSecond())) {
606
- * // validate leap-second is correct and apply correct smoothing
607
- * }
608
- * </pre>
609
- * @return a query that provides access to whether a leap-second was parsed
610
- */
611
- parsedLeapSecond(): TemporalQuery;
612
-
613
400
  /**
614
401
  * Gets the locale to be used during formatting.
615
402
  * <p>
@@ -5,12 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- ofPattern: function ofPattern() {},
9
- ofLocalizedDate: function ofLocalizedDate() {},
10
- ofLocalizedTime: function ofLocalizedTime() {},
11
- ofLocalizedDateTime: function ofLocalizedDateTime() {},
12
- parsedExcessDays: function parsedExcessDays() {},
13
- parsedLeapSecond: function parsedLeapSecond() {},
14
8
  getLocale: function getLocale() {},
15
9
  withLocale: function withLocale() {},
16
10
  getDecimalStyle: function getDecimalStyle() {},
@@ -1,6 +1,3 @@
1
- import type { Set } from "../../../util/Set";
2
- import type { Locale } from "../../../util/Locale";
3
-
4
1
  import type { Object } from "../../../lang/Object";
5
2
 
6
3
  import type { String } from "../../../lang/String";
@@ -14,37 +11,6 @@ import type { String } from "../../../lang/String";
14
11
  * @since 1.8
15
12
  */
16
13
  export type DecimalStyle = Object & {
17
- /**
18
- * Lists all the locales that are supported.
19
- * <p>
20
- * The locale 'en_US' will always be present.
21
- * @return a Set of Locales for which localization is supported
22
- */
23
- getAvailableLocales(): Set;
24
-
25
- /**
26
- * Obtains the DecimalStyle for the default
27
- * {@link java.util.Locale.Category#FORMAT FORMAT} locale.
28
- * <p>
29
- * This method provides access to locale sensitive decimal style symbols.
30
- * <p>
31
- * This is equivalent to calling
32
- * {@link #of(Locale)
33
- * of(Locale.getDefault(Locale.Category.FORMAT))}.
34
- * @see java.util.Locale.Category#FORMAT
35
- * @return the decimal style, not null
36
- */
37
- ofDefaultLocale(): DecimalStyle;
38
-
39
- /**
40
- * Obtains the DecimalStyle for the specified locale.
41
- * <p>
42
- * This method provides access to locale sensitive decimal style symbols.
43
- * @param locale the locale, not null
44
- * @return the decimal style, not null
45
- */
46
- of(locale: Locale): DecimalStyle;
47
-
48
14
  /**
49
15
  * Gets the character that represents zero.
50
16
  * <p>
@@ -5,9 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- getAvailableLocales: function getAvailableLocales() {},
9
- ofDefaultLocale: function ofDefaultLocale() {},
10
- of: function of() {},
11
8
  getZeroDigit: function getZeroDigit() {},
12
9
  withZeroDigit: function withZeroDigit() {},
13
10
  getPositiveSign: function getPositiveSign() {},
@@ -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() {},