@sitevision/api 2023.2.1 → 2023.2.2-beta.1
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.
- package/common/router/index.js +1 -0
- package/package.json +5 -5
- package/server/AliasUtil/index.d.ts +6 -5
- package/server/ArchiveUtil/index.d.ts +24 -23
- package/server/ArraysInstance/index.d.ts +302 -246
- package/server/ArticleUtil/index.d.ts +181 -179
- package/server/AuthenticationUtil/index.d.ts +22 -11
- package/server/BookmarkUtil/index.d.ts +18 -16
- package/server/BuddyIconRenderer/index.d.ts +86 -85
- package/server/BuddyIconRenderer.BuddyIconSize/index.d.ts +15 -15
- package/server/BuddyIconRenderer.BuddyIconSize/index.js +16 -16
- package/server/ClientUtil/index.d.ts +10 -8
- package/server/CollaborationFactory/index.d.ts +6 -6
- package/server/CollaborationGroupFolderUtil/index.d.ts +12 -11
- package/server/CollaborationGroupState/index.d.ts +15 -15
- package/server/CollaborationGroupState/index.js +2 -2
- package/server/CollaborationGroupTemplateUtil/index.d.ts +26 -24
- package/server/CollaborationGroupType/index.d.ts +15 -15
- package/server/CollaborationGroupType/index.js +3 -3
- package/server/CollaborationGroupUtil/index.d.ts +52 -52
- package/server/CollectionsInstance/index.d.ts +145 -105
- package/server/ColorUtil/index.d.ts +12 -8
- package/server/CompoundAndFilterBuilder/index.d.ts +21 -21
- package/server/CompoundComparatorBuilder/index.d.ts +22 -21
- package/server/CompoundOrFilterBuilder/index.d.ts +20 -20
- package/server/ContentNodeUtil/index.d.ts +30 -30
- package/server/CurrencyFactory/index.d.ts +55 -53
- package/server/DateUtil/index.d.ts +55 -47
- package/server/DecorationUtil/index.d.ts +6 -5
- package/server/DeviceUtil/index.d.ts +8 -8
- package/server/DimensionMode/index.d.ts +4 -4
- package/server/DimensionMode/index.js +3 -3
- package/server/DirectoryUtil/index.d.ts +40 -37
- package/server/DocType/index.d.ts +15 -15
- package/server/DocType/index.js +5 -5
- package/server/DocTypeUtil/index.d.ts +4 -4
- package/server/EndecUtil/index.d.ts +222 -214
- package/server/ExtendedDismaxParserBuilder/index.d.ts +127 -125
- package/server/FileIconRenderer/index.d.ts +167 -163
- package/server/FileUtil/index.d.ts +157 -150
- package/server/FilterBuilder/index.d.ts +67 -66
- package/server/FolderUtil/index.d.ts +51 -50
- package/server/FontUtil/index.d.ts +9 -8
- package/server/FormatterBuilderFactory/index.d.ts +35 -34
- package/server/HighlightBuilder/index.d.ts +93 -91
- package/server/IconUtil/index.d.ts +8 -7
- package/server/ImageLinkRenderer/index.d.ts +79 -78
- package/server/ImageRenderer/index.d.ts +327 -218
- package/server/ImageRenderer/index.js +6 -0
- package/server/ImageUtil/index.d.ts +155 -148
- package/server/IndexUtil/index.d.ts +24 -23
- package/server/IndexUtil.IndexType/index.d.ts +15 -15
- package/server/IndexUtil.IndexType/index.js +4 -4
- package/server/IndexingUtil/index.d.ts +38 -38
- package/server/InstanceCreatorUtil/index.d.ts +192 -183
- package/server/InstanceTypeUtil/index.d.ts +7 -5
- package/server/JwtUtil/index.d.ts +79 -78
- package/server/LandingPageUtil/index.d.ts +5 -5
- package/server/LinkPageUtil/index.d.ts +211 -206
- package/server/LinkRenderer/index.d.ts +428 -419
- package/server/LinkTargetBuilder/index.d.ts +61 -60
- package/server/LinkValueBuilder/index.d.ts +59 -58
- package/server/ListWrapper/index.d.ts +73 -67
- package/server/LocaleUtil/index.d.ts +328 -324
- package/server/LogUtil/index.d.ts +30 -26
- package/server/MailBuilder/index.d.ts +112 -109
- package/server/MailUtil/index.d.ts +23 -22
- package/server/MathInstance/index.d.ts +28 -28
- package/server/MessageDigesterFactory/index.d.ts +11 -11
- package/server/MetadataDefinitionUtil/index.d.ts +53 -51
- package/server/MetadataUtil/index.d.ts +197 -181
- package/server/MimeTypeUtil/index.d.ts +117 -112
- package/server/MonitorBuilder/index.d.ts +21 -21
- package/server/NodeComparatorUtil/index.d.ts +172 -164
- package/server/NodeFactoryUtil/index.d.ts +5 -5
- package/server/NodeFilterUtil/index.d.ts +290 -256
- package/server/NodeIteratorUtil/index.d.ts +113 -110
- package/server/NodeResolverUtil/index.d.ts +324 -324
- package/server/NodeTreeUtil/index.d.ts +132 -130
- package/server/NodeTypeUtil/index.d.ts +71 -70
- package/server/OfflineVersionPropertyUtil/index.d.ts +16 -18
- package/server/OnlineVersionPropertyUtil/index.d.ts +16 -18
- package/server/OutputUtil/index.d.ts +240 -231
- package/server/PageUtil/index.d.ts +145 -143
- package/server/PermissionUtil/index.d.ts +200 -200
- package/server/PermissionUtil.Permission/index.d.ts +15 -15
- package/server/PermissionUtil.Permission/index.js +29 -29
- package/server/PortletContextUtil/index.d.ts +35 -33
- package/server/PortletUtil/index.d.ts +9 -9
- package/server/PrincipalUtil/index.d.ts +15 -11
- package/server/Properties/index.d.ts +113 -104
- package/server/PropertyUtil/index.d.ts +1018 -995
- package/server/PublishingUtil/index.d.ts +140 -142
- package/server/QueryStringUtil/index.d.ts +333 -319
- package/server/RedirectUtil/index.d.ts +32 -28
- package/server/RelatedValueBuilder/index.d.ts +40 -40
- package/server/Requester/index.d.ts +303 -302
- package/server/ResourceLocatorUtil/index.d.ts +101 -99
- package/server/RestApi/index.d.ts +82 -81
- package/server/RestAppInvokerFactory/index.d.ts +34 -33
- package/server/RoleAssignmentBuilder/index.d.ts +12 -12
- package/server/RoleMatcherBuilder/index.d.ts +12 -12
- package/server/RoleUtil/index.d.ts +6 -6
- package/server/ScriptUtil/index.d.ts +226 -208
- package/server/SearchFactory/index.d.ts +11 -6
- package/server/SearchUtil/index.d.ts +84 -81
- package/server/SearcherBuilder/index.d.ts +111 -111
- package/server/Session/index.d.ts +123 -120
- package/server/SimpleUserUtil/index.d.ts +22 -17
- package/server/SiteCookieUtil/index.d.ts +24 -22
- package/server/SortBuilder/index.d.ts +70 -69
- package/server/SourceSetMode/index.js +3 -3
- package/server/SpellCheckBuilder/index.d.ts +31 -28
- package/server/StandardParserBuilder/index.d.ts +65 -64
- package/server/StructureUtil/index.d.ts +149 -67
- package/server/SubscriberUtil/index.d.ts +54 -43
- package/server/SubscriptionUtil/index.d.ts +64 -62
- package/server/SystemUserUtil/index.d.ts +75 -75
- package/server/TagUtil/index.d.ts +66 -63
- package/server/TemplateUtil/index.d.ts +89 -85
- package/server/TemporaryFileNodeBuilder/index.d.ts +25 -23
- package/server/TemporaryNodeBuilder/index.d.ts +74 -54
- package/server/TextModuleRendererBuilder/index.d.ts +37 -37
- package/server/TimestampUtil/index.d.ts +32 -21
- package/server/TranslationUtil/index.d.ts +63 -60
- package/server/TrashcanUtil/index.d.ts +76 -75
- package/server/UserDataUtil/index.d.ts +76 -70
- package/server/UserFactory/index.d.ts +5 -5
- package/server/UserFieldRenderer/index.d.ts +116 -114
- package/server/UserIdentityUtil/index.d.ts +26 -26
- package/server/UserUtil/index.d.ts +36 -36
- package/server/Utils/index.d.ts +83 -83
- package/server/VelocityRenderer/index.d.ts +141 -138
- package/server/VersionUtil/index.d.ts +5 -5
- package/server/WebContentUtil/index.d.ts +320 -317
- package/server/WebResourceFactory/index.d.ts +5 -5
- package/server/XSLTUtil/index.d.ts +35 -32
- package/server/XmlParserUtil/index.d.ts +61 -60
- package/server/appResource/index.d.ts +1 -1
- package/types/java/io/Closeable/index.d.ts +23 -0
- package/types/{senselogic/sitevision/api/base/Requireable/ScriptEngine → java/io/Closeable}/index.js +1 -2
- package/types/java/io/File/index.d.ts +1023 -0
- package/types/java/io/File/index.js +52 -0
- package/types/java/io/FileFilter/index.d.ts +19 -0
- package/types/java/io/FileFilter/index.js +10 -0
- package/types/java/io/FilenameFilter/index.d.ts +25 -0
- package/types/java/io/FilenameFilter/index.js +10 -0
- package/types/java/io/FilterOutputStream/index.d.ts +93 -0
- package/types/java/io/FilterOutputStream/index.js +12 -0
- package/types/java/io/Flushable/index.d.ts +14 -0
- package/types/java/io/Flushable/index.js +10 -0
- package/types/java/io/InputStream/index.d.ts +255 -0
- package/types/java/io/InputStream/index.js +16 -0
- package/types/java/io/OutputStream/index.d.ts +106 -0
- package/types/java/io/OutputStream/index.js +12 -0
- package/types/java/io/PrintStream/index.d.ts +408 -0
- package/types/java/io/PrintStream/index.js +20 -0
- package/types/java/io/PrintWriter/index.d.ts +401 -0
- package/types/java/io/PrintWriter/index.js +20 -0
- package/types/java/io/Reader/index.d.ts +125 -0
- package/types/java/io/Reader/index.js +16 -0
- package/types/java/io/Serializable/index.d.ts +141 -0
- package/types/java/io/Serializable/index.js +8 -0
- package/types/java/io/Writer/index.d.ts +154 -0
- package/types/java/io/Writer/index.js +13 -0
- package/types/java/lang/Appendable/index.d.ts +63 -0
- package/types/java/lang/Appendable/index.js +10 -0
- package/types/java/lang/AutoCloseable/index.d.ts +59 -0
- package/types/java/lang/AutoCloseable/index.js +10 -0
- package/types/java/lang/Boolean/index.d.ts +208 -0
- package/types/java/lang/Boolean/index.js +21 -0
- package/types/java/lang/CharSequence/index.d.ts +97 -0
- package/types/java/lang/CharSequence/index.js +15 -0
- package/types/java/lang/Class/index.d.ts +1320 -0
- package/types/java/lang/Class/index.js +72 -0
- package/types/java/lang/ClassLoader/index.d.ts +710 -0
- package/types/java/lang/ClassLoader/index.js +36 -0
- package/types/java/lang/Cloneable/index.d.ts +25 -0
- package/types/java/lang/Cloneable/index.js +8 -0
- package/types/java/lang/Comparable/index.d.ts +103 -0
- package/types/java/lang/Comparable/index.js +10 -0
- package/types/java/lang/Double/index.d.ts +814 -0
- package/types/java/lang/Double/index.js +32 -0
- package/types/java/lang/Enum/index.d.ts +141 -0
- package/types/java/lang/Enum/index.js +19 -0
- package/types/java/lang/Exception/index.d.ts +19 -0
- package/types/java/lang/Exception/index.js +8 -0
- package/types/java/lang/Float/index.d.ts +752 -0
- package/types/java/lang/Float/index.js +32 -0
- package/types/java/lang/Integer/index.d.ts +922 -0
- package/types/java/lang/Integer/index.js +46 -0
- package/types/java/lang/Iterable/index.d.ts +46 -0
- package/types/java/lang/Iterable/index.js +12 -0
- package/types/java/lang/Long/index.d.ts +936 -0
- package/types/java/lang/Long/index.js +45 -0
- package/types/java/lang/Number/index.d.ts +81 -0
- package/types/java/lang/Number/index.js +15 -0
- package/types/java/lang/Object/index.d.ts +467 -0
- package/types/java/lang/Object/index.js +18 -0
- package/types/java/lang/Package/index.d.ts +216 -0
- package/types/java/lang/Package/index.js +29 -0
- package/types/java/lang/Readable/index.d.ts +20 -0
- package/types/java/lang/Readable/index.js +10 -0
- package/types/java/lang/Runnable/index.d.ts +39 -0
- package/types/java/lang/Runnable/index.js +10 -0
- package/types/java/lang/RuntimeException/index.d.ts +17 -0
- package/types/java/lang/RuntimeException/index.js +8 -0
- package/types/java/lang/StackTraceElement/index.d.ts +116 -0
- package/types/java/lang/StackTraceElement/index.js +17 -0
- package/types/java/lang/String/index.d.ts +1427 -0
- package/types/java/lang/String/index.js +48 -0
- package/types/java/lang/StringBuffer/index.d.ts +232 -0
- package/types/java/lang/StringBuffer/index.js +33 -0
- package/types/java/lang/Throwable/index.d.ts +462 -0
- package/types/java/lang/Throwable/index.js +20 -0
- package/types/java/lang/annotation/Annotation/index.d.ts +109 -0
- package/types/java/lang/annotation/Annotation/index.js +13 -0
- package/types/java/lang/reflect/AccessibleObject/index.d.ts +106 -0
- package/types/java/lang/reflect/AccessibleObject/index.js +18 -0
- package/types/java/lang/reflect/AnnotatedElement/index.d.ts +322 -0
- package/types/java/lang/reflect/AnnotatedElement/index.js +16 -0
- package/types/java/lang/reflect/AnnotatedType/index.d.ts +17 -0
- package/types/java/lang/reflect/AnnotatedType/index.js +10 -0
- package/types/java/lang/reflect/Constructor/index.d.ts +236 -0
- package/types/java/lang/reflect/Constructor/index.js +30 -0
- package/types/java/lang/reflect/Executable/index.d.ts +255 -0
- package/types/java/lang/reflect/Executable/index.js +30 -0
- package/types/java/lang/reflect/Field/index.d.ts +506 -0
- package/types/java/lang/reflect/Field/index.js +42 -0
- package/types/java/lang/reflect/GenericDeclaration/index.d.ts +19 -0
- package/types/java/lang/reflect/GenericDeclaration/index.js +10 -0
- package/types/java/lang/reflect/Member/index.d.ts +60 -0
- package/types/java/lang/reflect/Member/index.js +13 -0
- package/types/java/lang/reflect/Method/index.d.ts +308 -0
- package/types/java/lang/reflect/Method/index.js +34 -0
- package/types/java/lang/reflect/Parameter/index.d.ts +155 -0
- package/types/java/lang/reflect/Parameter/index.js +28 -0
- package/types/java/lang/reflect/Type/index.d.ts +18 -0
- package/types/java/lang/reflect/Type/index.js +10 -0
- package/types/java/lang/reflect/TypeVariable/index.d.ts +70 -0
- package/types/java/lang/reflect/TypeVariable/index.js +13 -0
- package/types/java/math/BigDecimal/index.d.ts +1317 -0
- package/types/java/math/BigDecimal/index.js +50 -0
- package/types/java/math/BigInteger/index.d.ts +592 -0
- package/types/java/math/BigInteger/index.js +56 -0
- package/types/java/math/MathContext/index.d.ts +136 -0
- package/types/java/math/MathContext/index.js +14 -0
- package/types/java/math/RoundingMode/index.d.ts +71 -0
- package/types/java/math/RoundingMode/index.js +17 -0
- package/types/java/net/ContentHandler/index.d.ts +70 -0
- package/types/java/net/ContentHandler/index.js +10 -0
- package/types/java/net/ContentHandlerFactory/index.d.ts +26 -0
- package/types/java/net/ContentHandlerFactory/index.js +10 -0
- package/types/java/net/FileNameMap/index.d.ts +16 -0
- package/types/java/net/FileNameMap/index.js +10 -0
- package/types/java/net/InetAddress/index.d.ts +490 -0
- package/types/java/net/InetAddress/index.js +32 -0
- package/types/java/net/NetworkInterface/index.d.ts +222 -0
- package/types/java/net/NetworkInterface/index.js +30 -0
- package/types/java/net/Proxy/index.d.ts +68 -0
- package/types/java/net/Proxy/index.js +14 -0
- package/types/java/net/Proxy.Type/index.d.ts +9 -0
- package/types/java/net/Proxy.Type/index.js +12 -0
- package/types/java/net/SocketAddress/index.d.ts +15 -0
- package/types/java/net/SocketAddress/index.js +8 -0
- package/types/java/net/URI/index.d.ts +956 -0
- package/types/java/net/URI/index.js +37 -0
- package/types/java/net/URL/index.d.ts +378 -0
- package/types/java/net/URL/index.js +29 -0
- package/types/java/net/URLConnection/index.d.ts +773 -0
- package/types/java/net/URLConnection/index.js +58 -0
- package/types/java/net/URLStreamHandler/index.d.ts +199 -0
- package/types/java/net/URLStreamHandler/index.js +19 -0
- package/types/java/net/URLStreamHandlerFactory/index.d.ts +24 -0
- package/types/java/net/URLStreamHandlerFactory/index.js +10 -0
- package/types/java/nio/MappedByteBuffer/index.d.ts +80 -0
- package/types/java/nio/MappedByteBuffer/index.js +12 -0
- package/types/java/nio/channels/AsynchronousChannel/index.d.ts +82 -0
- package/types/java/nio/channels/AsynchronousChannel/index.js +10 -0
- package/types/java/nio/channels/AsynchronousFileChannel/index.d.ts +546 -0
- package/types/java/nio/channels/AsynchronousFileChannel/index.js +17 -0
- package/types/java/nio/channels/ByteChannel/index.d.ts +12 -0
- package/types/java/nio/channels/ByteChannel/index.js +8 -0
- package/types/java/nio/channels/Channel/index.d.ts +48 -0
- package/types/java/nio/channels/Channel/index.js +11 -0
- package/types/java/nio/channels/CompletionHandler/index.d.ts +31 -0
- package/types/java/nio/channels/CompletionHandler/index.js +11 -0
- package/types/java/nio/channels/FileChannel/index.d.ts +756 -0
- package/types/java/nio/channels/FileChannel/index.js +21 -0
- package/types/java/nio/channels/FileChannel.MapMode/index.d.ts +33 -0
- package/types/java/nio/channels/FileChannel.MapMode/index.js +10 -0
- package/types/java/nio/channels/FileLock/index.d.ts +180 -0
- package/types/java/nio/channels/FileLock/index.js +19 -0
- package/types/java/nio/channels/GatheringByteChannel/index.d.ts +83 -0
- package/types/java/nio/channels/GatheringByteChannel/index.js +10 -0
- package/types/java/nio/channels/InterruptibleChannel/index.d.ts +43 -0
- package/types/java/nio/channels/InterruptibleChannel/index.js +10 -0
- package/types/java/nio/channels/ReadableByteChannel/index.d.ts +56 -0
- package/types/java/nio/channels/ReadableByteChannel/index.js +10 -0
- package/types/java/nio/channels/ScatteringByteChannel/index.d.ts +78 -0
- package/types/java/nio/channels/ScatteringByteChannel/index.js +10 -0
- package/types/java/nio/channels/SeekableByteChannel/index.d.ts +110 -0
- package/types/java/nio/channels/SeekableByteChannel/index.js +14 -0
- package/types/java/nio/channels/WritableByteChannel/index.d.ts +52 -0
- package/types/java/nio/channels/WritableByteChannel/index.js +10 -0
- package/types/java/nio/channels/spi/AbstractInterruptibleChannel/index.d.ts +104 -0
- package/types/java/nio/channels/spi/AbstractInterruptibleChannel/index.js +14 -0
- package/types/java/nio/charset/Charset/index.d.ts +472 -0
- package/types/java/nio/charset/Charset/index.js +27 -0
- package/types/java/nio/file/AccessMode/index.d.ts +9 -0
- package/types/java/nio/file/AccessMode/index.js +12 -0
- package/types/java/nio/file/CopyOption/index.d.ts +15 -0
- package/types/java/nio/file/CopyOption/index.js +8 -0
- package/types/java/nio/file/DirectoryStream/index.d.ts +97 -0
- package/types/java/nio/file/DirectoryStream/index.js +10 -0
- package/types/java/nio/file/DirectoryStream.Filter/index.d.ts +18 -0
- package/types/java/nio/file/DirectoryStream.Filter/index.js +10 -0
- package/types/java/nio/file/FileStore/index.d.ts +154 -0
- package/types/java/nio/file/FileStore/index.js +18 -0
- package/types/java/nio/file/FileSystem/index.d.ts +402 -0
- package/types/java/nio/file/FileSystem/index.js +21 -0
- package/types/java/nio/file/LinkOption/index.d.ts +7 -0
- package/types/java/nio/file/LinkOption/index.js +10 -0
- package/types/java/nio/file/OpenOption/index.d.ts +15 -0
- package/types/java/nio/file/OpenOption/index.js +8 -0
- package/types/java/nio/file/Path/index.d.ts +617 -0
- package/types/java/nio/file/Path/index.js +33 -0
- package/types/java/nio/file/PathMatcher/index.d.ts +17 -0
- package/types/java/nio/file/PathMatcher/index.js +10 -0
- package/types/java/nio/file/WatchEvent.Kind/index.d.ts +21 -0
- package/types/java/nio/file/WatchEvent.Kind/index.js +11 -0
- package/types/java/nio/file/WatchEvent.Modifier/index.d.ts +17 -0
- package/types/java/nio/file/WatchEvent.Modifier/index.js +10 -0
- package/types/java/nio/file/WatchKey/index.d.ts +117 -0
- package/types/java/nio/file/WatchKey/index.js +14 -0
- package/types/java/nio/file/WatchService/index.d.ts +121 -0
- package/types/java/nio/file/WatchService/index.js +12 -0
- package/types/java/nio/file/Watchable/index.d.ts +71 -0
- package/types/java/nio/file/Watchable/index.js +10 -0
- package/types/java/nio/file/attribute/FileAttribute/index.d.ts +24 -0
- package/types/java/nio/file/attribute/FileAttribute/index.js +11 -0
- package/types/java/nio/file/attribute/GroupPrincipal/index.d.ts +14 -0
- package/types/java/nio/file/attribute/GroupPrincipal/index.js +8 -0
- package/types/java/nio/file/attribute/UserPrincipal/index.d.ts +25 -0
- package/types/java/nio/file/attribute/UserPrincipal/index.js +8 -0
- package/types/java/nio/file/attribute/UserPrincipalLookupService/index.d.ts +52 -0
- package/types/java/nio/file/attribute/UserPrincipalLookupService/index.js +11 -0
- package/types/java/nio/file/spi/FileSystemProvider/index.d.ts +583 -0
- package/types/java/nio/file/spi/FileSystemProvider/index.js +35 -0
- package/types/java/security/CodeSigner/index.d.ts +52 -0
- package/types/java/security/CodeSigner/index.js +14 -0
- package/types/java/security/CodeSource/index.d.ts +143 -0
- package/types/java/security/CodeSource/index.js +16 -0
- package/types/java/security/Guard/index.d.ts +24 -0
- package/types/java/security/Guard/index.js +10 -0
- package/types/java/security/Key/index.d.ts +120 -0
- package/types/java/security/Key/index.js +12 -0
- package/types/java/security/Permission/index.d.ts +153 -0
- package/types/java/security/Permission/index.js +17 -0
- package/types/java/security/PermissionCollection/index.d.ts +132 -0
- package/types/java/security/PermissionCollection/index.js +15 -0
- package/types/java/security/Principal/index.d.ts +54 -0
- package/types/java/security/Principal/index.js +14 -0
- package/types/java/security/PrivilegedExceptionAction/index.d.ts +24 -0
- package/types/java/security/PrivilegedExceptionAction/index.js +10 -0
- package/types/java/security/ProtectionDomain/index.d.ts +88 -0
- package/types/java/security/ProtectionDomain/index.js +15 -0
- package/types/java/security/Provider/index.d.ts +383 -0
- package/types/java/security/Provider/index.js +38 -0
- package/types/java/security/Provider.Service/index.d.ts +116 -0
- package/types/java/security/Provider.Service/index.js +17 -0
- package/types/java/security/PublicKey/index.d.ts +25 -0
- package/types/java/security/PublicKey/index.js +8 -0
- package/types/java/security/Timestamp/index.d.ts +53 -0
- package/types/java/security/Timestamp/index.js +14 -0
- package/types/java/security/cert/CertPath/index.d.ts +181 -0
- package/types/java/security/cert/CertPath/index.js +17 -0
- package/types/java/security/cert/Certificate/index.d.ts +133 -0
- package/types/java/security/cert/Certificate/index.js +17 -0
- package/types/java/text/AttributedCharacterIterator/index.d.ts +127 -0
- package/types/java/text/AttributedCharacterIterator/index.js +14 -0
- package/types/java/text/AttributedCharacterIterator.Attribute/index.d.ts +76 -0
- package/types/java/text/AttributedCharacterIterator.Attribute/index.js +14 -0
- package/types/java/text/CharacterIterator/index.d.ts +144 -0
- package/types/java/text/CharacterIterator/index.js +19 -0
- package/types/java/text/DateFormat/index.d.ts +600 -0
- package/types/java/text/DateFormat/index.js +28 -0
- package/types/java/text/DateFormatSymbols/index.d.ts +290 -0
- package/types/java/text/DateFormatSymbols/index.js +30 -0
- package/types/java/text/FieldPosition/index.d.ts +98 -0
- package/types/java/text/FieldPosition/index.js +18 -0
- package/types/java/text/Format/index.d.ts +190 -0
- package/types/java/text/Format/index.js +13 -0
- package/types/java/text/Format.Field/index.d.ts +10 -0
- package/types/java/text/Format.Field/index.js +8 -0
- package/types/java/text/NumberFormat/index.d.ts +586 -0
- package/types/java/text/NumberFormat/index.js +37 -0
- package/types/java/text/ParsePosition/index.d.ts +67 -0
- package/types/java/text/ParsePosition/index.js +16 -0
- package/types/java/text/SimpleDateFormat/index.d.ts +521 -0
- package/types/java/text/SimpleDateFormat/index.js +23 -0
- package/types/java/time/Clock/index.d.ts +272 -0
- package/types/java/time/Clock/index.js +23 -0
- package/types/java/time/DayOfWeek/index.d.ts +34 -0
- package/types/java/time/DayOfWeek/index.js +16 -0
- package/types/java/time/Duration/index.d.ts +729 -0
- package/types/java/time/Duration/index.js +56 -0
- package/types/java/time/Instant/index.d.ts +877 -0
- package/types/java/time/Instant/index.js +42 -0
- package/types/java/time/LocalDate/index.d.ts +1306 -0
- package/types/java/time/LocalDate/index.js +59 -0
- package/types/java/time/LocalDateTime/index.d.ts +1394 -0
- package/types/java/time/LocalDateTime/index.js +72 -0
- package/types/java/time/LocalTime/index.d.ts +966 -0
- package/types/java/time/LocalTime/index.js +53 -0
- package/types/java/time/Month/index.d.ts +35 -0
- package/types/java/time/Month/index.js +21 -0
- package/types/java/time/OffsetDateTime/index.d.ts +1384 -0
- package/types/java/time/OffsetDateTime/index.js +80 -0
- package/types/java/time/OffsetTime/index.d.ts +960 -0
- package/types/java/time/OffsetTime/index.js +54 -0
- package/types/java/time/Period/index.d.ts +602 -0
- package/types/java/time/Period/index.js +45 -0
- package/types/java/time/ZoneId/index.d.ts +343 -0
- package/types/java/time/ZoneId/index.js +21 -0
- package/types/java/time/ZoneOffset/index.d.ts +384 -0
- package/types/java/time/ZoneOffset/index.js +28 -0
- package/types/java/time/ZonedDateTime/index.d.ts +1580 -0
- package/types/java/time/ZonedDateTime/index.js +75 -0
- package/types/java/time/chrono/AbstractChronology/index.d.ts +153 -0
- package/types/java/time/chrono/AbstractChronology/index.js +14 -0
- package/types/java/time/chrono/ChronoLocalDate/index.d.ts +593 -0
- package/types/java/time/chrono/ChronoLocalDate/index.js +33 -0
- package/types/java/time/chrono/ChronoLocalDateTime/index.d.ts +409 -0
- package/types/java/time/chrono/ChronoLocalDateTime/index.js +31 -0
- package/types/java/time/chrono/ChronoPeriod/index.d.ts +246 -0
- package/types/java/time/chrono/ChronoPeriod/index.js +25 -0
- package/types/java/time/chrono/ChronoZonedDateTime/index.d.ts +439 -0
- package/types/java/time/chrono/ChronoZonedDateTime/index.js +39 -0
- package/types/java/time/chrono/Chronology/index.d.ts +556 -0
- package/types/java/time/chrono/Chronology/index.js +33 -0
- package/types/java/time/chrono/Era/index.d.ts +202 -0
- package/types/java/time/chrono/Era/index.js +17 -0
- package/types/java/time/chrono/IsoChronology/index.d.ts +345 -0
- package/types/java/time/chrono/IsoChronology/index.js +24 -0
- package/types/java/time/chrono/IsoEra/index.d.ts +40 -0
- package/types/java/time/chrono/IsoEra/index.js +11 -0
- package/types/java/time/format/DateTimeFormatter/index.d.ts +1478 -0
- package/types/java/time/format/DateTimeFormatter/index.js +34 -0
- package/types/java/time/format/DecimalStyle/index.d.ts +150 -0
- package/types/java/time/format/DecimalStyle/index.js +23 -0
- package/types/java/time/format/FormatStyle/index.d.ts +14 -0
- package/types/java/time/format/FormatStyle/index.js +13 -0
- package/types/java/time/format/ResolverStyle/index.d.ts +15 -0
- package/types/java/time/format/ResolverStyle/index.js +12 -0
- package/types/java/time/format/TextStyle/index.d.ts +26 -0
- package/types/java/time/format/TextStyle/index.js +15 -0
- package/types/java/time/temporal/ChronoField/index.d.ts +45 -0
- package/types/java/time/temporal/ChronoField/index.js +39 -0
- package/types/java/time/temporal/Temporal/index.d.ts +259 -0
- package/types/java/time/temporal/Temporal/index.js +14 -0
- package/types/java/time/temporal/TemporalAccessor/index.d.ts +126 -0
- package/types/java/time/temporal/TemporalAccessor/index.js +14 -0
- package/types/java/time/temporal/TemporalAdjuster/index.d.ts +64 -0
- package/types/java/time/temporal/TemporalAdjuster/index.js +10 -0
- package/types/java/time/temporal/TemporalAmount/index.d.ts +105 -0
- package/types/java/time/temporal/TemporalAmount/index.js +13 -0
- package/types/java/time/temporal/TemporalField/index.d.ts +257 -0
- package/types/java/time/temporal/TemporalField/index.js +21 -0
- package/types/java/time/temporal/TemporalQuery/index.d.ts +60 -0
- package/types/java/time/temporal/TemporalQuery/index.js +10 -0
- package/types/java/time/temporal/TemporalUnit/index.d.ts +182 -0
- package/types/java/time/temporal/TemporalUnit/index.js +17 -0
- package/types/java/time/temporal/ValueRange/index.d.ts +198 -0
- package/types/java/time/temporal/ValueRange/index.js +23 -0
- package/types/java/time/zone/ZoneOffsetTransition/index.d.ts +178 -0
- package/types/java/time/zone/ZoneOffsetTransition/index.js +24 -0
- package/types/java/time/zone/ZoneRules/index.d.ts +321 -0
- package/types/java/time/zone/ZoneRules/index.js +25 -0
- package/types/java/util/AbstractCollection/index.d.ts +250 -0
- package/types/java/util/AbstractCollection/index.js +22 -0
- package/types/java/util/AbstractList/index.d.ts +313 -0
- package/types/java/util/AbstractList/index.js +23 -0
- package/types/java/util/ArrayList/index.d.ts +403 -0
- package/types/java/util/ArrayList/index.js +35 -0
- package/types/java/util/Calendar/index.d.ts +1495 -0
- package/types/java/util/Calendar/index.js +55 -0
- package/types/java/util/Collection/index.d.ts +436 -0
- package/types/java/util/Collection/index.js +27 -0
- package/types/java/util/Comparator/index.d.ts +369 -0
- package/types/java/util/Comparator/index.js +24 -0
- package/types/java/util/Currency/index.d.ts +173 -0
- package/types/java/util/Currency/index.js +17 -0
- package/types/java/util/Date/index.d.ts +609 -0
- package/types/java/util/Date/index.js +38 -0
- package/types/java/util/Deque/index.d.ts +467 -0
- package/types/java/util/Deque/index.js +35 -0
- package/types/java/util/Dictionary/index.d.ts +107 -0
- package/types/java/util/Dictionary/index.js +16 -0
- package/types/java/util/DoubleSummaryStatistics/index.d.ts +121 -0
- package/types/java/util/DoubleSummaryStatistics/index.js +17 -0
- package/types/java/util/Enumeration/index.d.ts +46 -0
- package/types/java/util/Enumeration/index.js +11 -0
- package/types/java/util/Hashtable/index.d.ts +356 -0
- package/types/java/util/Hashtable/index.js +38 -0
- package/types/java/util/IntSummaryStatistics/index.d.ts +82 -0
- package/types/java/util/IntSummaryStatistics/index.js +17 -0
- package/types/java/util/Iterator/index.d.ts +65 -0
- package/types/java/util/Iterator/index.js +13 -0
- package/types/java/util/List/index.d.ts +503 -0
- package/types/java/util/List/index.js +32 -0
- package/types/java/util/ListIterator/index.d.ts +134 -0
- package/types/java/util/ListIterator/index.js +18 -0
- package/types/java/util/Locale/index.d.ts +1360 -0
- package/types/java/util/Locale/index.js +42 -0
- package/types/java/util/Locale.Category/index.d.ts +12 -0
- package/types/java/util/Locale.Category/index.js +11 -0
- package/types/java/util/Locale.FilteringMode/index.d.ts +97 -0
- package/types/java/util/Locale.FilteringMode/index.js +14 -0
- package/types/java/util/LongSummaryStatistics/index.d.ts +91 -0
- package/types/java/util/LongSummaryStatistics/index.js +17 -0
- package/types/java/util/Map/index.d.ts +515 -0
- package/types/java/util/Map/index.js +32 -0
- package/types/java/util/Map.Entry/index.d.ts +137 -0
- package/types/java/util/Map.Entry/index.js +16 -0
- package/types/java/util/NavigableMap/index.d.ts +314 -0
- package/types/java/util/NavigableMap/index.js +27 -0
- package/types/java/util/NavigableSet/index.d.ts +228 -0
- package/types/java/util/NavigableSet/index.js +21 -0
- package/types/java/util/Optional/index.d.ts +170 -0
- package/types/java/util/Optional/index.js +24 -0
- package/types/java/util/OptionalDouble/index.d.ts +123 -0
- package/types/java/util/OptionalDouble/index.js +20 -0
- package/types/java/util/OptionalInt/index.d.ts +122 -0
- package/types/java/util/OptionalInt/index.js +20 -0
- package/types/java/util/OptionalLong/index.d.ts +123 -0
- package/types/java/util/OptionalLong/index.js +20 -0
- package/types/java/util/PrimitiveIterator/index.d.ts +38 -0
- package/types/java/util/PrimitiveIterator/index.js +10 -0
- package/types/java/util/PrimitiveIterator.OfDouble/index.d.ts +41 -0
- package/types/java/util/PrimitiveIterator.OfDouble/index.js +12 -0
- package/types/java/util/PrimitiveIterator.OfInt/index.d.ts +41 -0
- package/types/java/util/PrimitiveIterator.OfInt/index.js +12 -0
- package/types/java/util/PrimitiveIterator.OfLong/index.d.ts +41 -0
- package/types/java/util/PrimitiveIterator.OfLong/index.js +12 -0
- package/types/java/util/Properties/index.d.ts +513 -0
- package/types/java/util/Properties/index.js +19 -0
- package/types/java/util/Queue/index.d.ts +168 -0
- package/types/java/util/Queue/index.js +15 -0
- package/types/java/util/Random/index.d.ts +605 -0
- package/types/java/util/Random/index.js +21 -0
- package/types/java/util/RandomAccess/index.d.ts +39 -0
- package/types/java/util/RandomAccess/index.js +8 -0
- package/types/java/util/Set/index.d.ts +303 -0
- package/types/java/util/Set/index.js +24 -0
- package/types/java/util/SortedMap/index.d.ts +218 -0
- package/types/java/util/SortedMap/index.js +18 -0
- package/types/java/util/SortedSet/index.d.ts +179 -0
- package/types/java/util/SortedSet/index.js +16 -0
- package/types/java/util/Spliterator/index.d.ts +317 -0
- package/types/java/util/Spliterator/index.js +17 -0
- package/types/java/util/Spliterator.OfDouble/index.d.ts +28 -0
- package/types/java/util/Spliterator.OfDouble/index.js +12 -0
- package/types/java/util/Spliterator.OfInt/index.d.ts +28 -0
- package/types/java/util/Spliterator.OfInt/index.js +12 -0
- package/types/java/util/Spliterator.OfLong/index.d.ts +28 -0
- package/types/java/util/Spliterator.OfLong/index.js +12 -0
- package/types/java/util/Spliterator.OfPrimitive/index.d.ts +39 -0
- package/types/java/util/Spliterator.OfPrimitive/index.js +12 -0
- package/types/java/util/TimeZone/index.d.ts +435 -0
- package/types/java/util/TimeZone/index.js +26 -0
- package/types/java/util/concurrent/Callable/index.d.ts +26 -0
- package/types/java/util/concurrent/Callable/index.js +10 -0
- package/types/java/util/concurrent/Executor/index.d.ts +102 -0
- package/types/java/util/concurrent/Executor/index.js +10 -0
- package/types/java/util/concurrent/ExecutorService/index.d.ts +296 -0
- package/types/java/util/concurrent/ExecutorService/index.js +17 -0
- package/types/java/util/concurrent/Future/index.d.ts +118 -0
- package/types/java/util/concurrent/Future/index.js +13 -0
- package/types/java/util/concurrent/TimeUnit/index.d.ts +41 -0
- package/types/java/util/concurrent/TimeUnit/index.js +16 -0
- package/types/java/util/function/BiConsumer/index.d.ts +33 -0
- package/types/java/util/function/BiConsumer/index.js +11 -0
- package/types/java/util/function/BiFunction/index.d.ts +35 -0
- package/types/java/util/function/BiFunction/index.js +11 -0
- package/types/java/util/function/BinaryOperator/index.d.ts +37 -0
- package/types/java/util/function/BinaryOperator/index.js +11 -0
- package/types/java/util/function/Consumer/index.d.ts +29 -0
- package/types/java/util/function/Consumer/index.js +11 -0
- package/types/java/util/function/DoubleBinaryOperator/index.d.ts +20 -0
- package/types/java/util/function/DoubleBinaryOperator/index.js +10 -0
- package/types/java/util/function/DoubleConsumer/index.d.ts +30 -0
- package/types/java/util/function/DoubleConsumer/index.js +11 -0
- package/types/java/util/function/DoubleFunction/index.d.ts +19 -0
- package/types/java/util/function/DoubleFunction/index.js +10 -0
- package/types/java/util/function/DoublePredicate/index.d.ts +55 -0
- package/types/java/util/function/DoublePredicate/index.js +13 -0
- package/types/java/util/function/DoubleSupplier/index.d.ts +19 -0
- package/types/java/util/function/DoubleSupplier/index.js +10 -0
- package/types/java/util/function/DoubleToIntFunction/index.d.ts +18 -0
- package/types/java/util/function/DoubleToIntFunction/index.js +10 -0
- package/types/java/util/function/DoubleToLongFunction/index.d.ts +18 -0
- package/types/java/util/function/DoubleToLongFunction/index.js +10 -0
- package/types/java/util/function/DoubleUnaryOperator/index.d.ts +48 -0
- package/types/java/util/function/DoubleUnaryOperator/index.js +13 -0
- package/types/java/util/function/Function/index.d.ts +50 -0
- package/types/java/util/function/Function/index.js +13 -0
- package/types/java/util/function/IntBinaryOperator/index.d.ts +20 -0
- package/types/java/util/function/IntBinaryOperator/index.js +10 -0
- package/types/java/util/function/IntConsumer/index.d.ts +30 -0
- package/types/java/util/function/IntConsumer/index.js +11 -0
- package/types/java/util/function/IntFunction/index.d.ts +19 -0
- package/types/java/util/function/IntFunction/index.js +10 -0
- package/types/java/util/function/IntPredicate/index.d.ts +55 -0
- package/types/java/util/function/IntPredicate/index.js +13 -0
- package/types/java/util/function/IntSupplier/index.d.ts +19 -0
- package/types/java/util/function/IntSupplier/index.js +10 -0
- package/types/java/util/function/IntToDoubleFunction/index.d.ts +18 -0
- package/types/java/util/function/IntToDoubleFunction/index.js +10 -0
- package/types/java/util/function/IntToLongFunction/index.d.ts +18 -0
- package/types/java/util/function/IntToLongFunction/index.js +10 -0
- package/types/java/util/function/IntUnaryOperator/index.d.ts +48 -0
- package/types/java/util/function/IntUnaryOperator/index.js +13 -0
- package/types/java/util/function/LongBinaryOperator/index.d.ts +20 -0
- package/types/java/util/function/LongBinaryOperator/index.js +10 -0
- package/types/java/util/function/LongConsumer/index.d.ts +30 -0
- package/types/java/util/function/LongConsumer/index.js +11 -0
- package/types/java/util/function/LongFunction/index.d.ts +19 -0
- package/types/java/util/function/LongFunction/index.js +10 -0
- package/types/java/util/function/LongPredicate/index.d.ts +55 -0
- package/types/java/util/function/LongPredicate/index.js +13 -0
- package/types/java/util/function/LongSupplier/index.d.ts +19 -0
- package/types/java/util/function/LongSupplier/index.js +10 -0
- package/types/java/util/function/LongToDoubleFunction/index.d.ts +18 -0
- package/types/java/util/function/LongToDoubleFunction/index.js +10 -0
- package/types/java/util/function/LongToIntFunction/index.d.ts +18 -0
- package/types/java/util/function/LongToIntFunction/index.js +10 -0
- package/types/java/util/function/LongUnaryOperator/index.d.ts +48 -0
- package/types/java/util/function/LongUnaryOperator/index.js +13 -0
- package/types/java/util/function/ObjDoubleConsumer/index.d.ts +21 -0
- package/types/java/util/function/ObjDoubleConsumer/index.js +10 -0
- package/types/java/util/function/ObjIntConsumer/index.d.ts +21 -0
- package/types/java/util/function/ObjIntConsumer/index.js +10 -0
- package/types/java/util/function/ObjLongConsumer/index.d.ts +21 -0
- package/types/java/util/function/ObjLongConsumer/index.js +10 -0
- package/types/java/util/function/Predicate/index.d.ts +64 -0
- package/types/java/util/function/Predicate/index.js +14 -0
- package/types/java/util/function/Supplier/index.d.ts +18 -0
- package/types/java/util/function/Supplier/index.js +10 -0
- package/types/java/util/function/ToDoubleFunction/index.d.ts +18 -0
- package/types/java/util/function/ToDoubleFunction/index.js +10 -0
- package/types/java/util/function/ToIntFunction/index.d.ts +18 -0
- package/types/java/util/function/ToIntFunction/index.js +10 -0
- package/types/java/util/function/ToLongFunction/index.d.ts +18 -0
- package/types/java/util/function/ToLongFunction/index.js +10 -0
- package/types/java/util/function/UnaryOperator/index.d.ts +21 -0
- package/types/java/util/function/UnaryOperator/index.js +10 -0
- package/types/java/util/stream/BaseStream/index.d.ts +120 -0
- package/types/java/util/stream/BaseStream/index.js +17 -0
- package/types/java/util/stream/Collector/index.d.ts +213 -0
- package/types/java/util/stream/Collector/index.js +15 -0
- package/types/java/util/stream/Collector.Characteristics/index.d.ts +10 -0
- package/types/java/util/stream/Collector.Characteristics/index.js +12 -0
- package/types/java/util/stream/DoubleStream/index.d.ts +603 -0
- package/types/java/util/stream/DoubleStream/index.js +47 -0
- package/types/java/util/stream/DoubleStream.Builder/index.d.ts +41 -0
- package/types/java/util/stream/DoubleStream.Builder/index.js +12 -0
- package/types/java/util/stream/IntStream/index.d.ts +597 -0
- package/types/java/util/stream/IntStream/index.js +51 -0
- package/types/java/util/stream/IntStream.Builder/index.d.ts +41 -0
- package/types/java/util/stream/IntStream.Builder/index.js +12 -0
- package/types/java/util/stream/LongStream/index.d.ts +587 -0
- package/types/java/util/stream/LongStream/index.js +50 -0
- package/types/java/util/stream/LongStream.Builder/index.d.ts +41 -0
- package/types/java/util/stream/LongStream.Builder/index.js +12 -0
- package/types/java/util/stream/Stream/index.d.ts +753 -0
- package/types/java/util/stream/Stream/index.js +42 -0
- package/types/java/util/stream/Stream.Builder/index.d.ts +44 -0
- package/types/java/util/stream/Stream.Builder/index.js +12 -0
- package/types/javax/jcr/AccessDeniedException/index.d.ts +7 -0
- package/types/javax/jcr/AccessDeniedException/index.js +8 -0
- package/types/javax/jcr/Binary/index.d.ts +20 -18
- package/types/javax/jcr/Credentials/index.d.ts +7 -7
- package/types/javax/jcr/GuestCredentials/index.d.ts +14 -0
- package/types/javax/jcr/GuestCredentials/index.js +8 -0
- package/types/javax/jcr/ImportUUIDBehavior/index.d.ts +4 -22
- package/types/javax/jcr/InvalidItemStateException/index.d.ts +12 -0
- package/types/javax/jcr/InvalidItemStateException/index.js +8 -0
- package/types/javax/jcr/InvalidLifecycleTransitionException/index.d.ts +7 -0
- package/types/javax/jcr/InvalidLifecycleTransitionException/index.js +8 -0
- package/types/javax/jcr/InvalidSerializedDataException/index.d.ts +8 -0
- package/types/javax/jcr/InvalidSerializedDataException/index.js +8 -0
- package/types/javax/jcr/Item/index.d.ts +65 -63
- package/types/javax/jcr/ItemExistsException/index.d.ts +8 -0
- package/types/javax/jcr/ItemExistsException/index.js +8 -0
- package/types/javax/jcr/ItemNotFoundException/index.d.ts +8 -0
- package/types/javax/jcr/ItemNotFoundException/index.js +8 -0
- package/types/javax/jcr/ItemVisitor/index.d.ts +14 -14
- package/types/javax/jcr/LoginException/index.d.ts +9 -0
- package/types/javax/jcr/LoginException/index.js +8 -0
- package/types/javax/jcr/MergeException/index.d.ts +7 -0
- package/types/javax/jcr/MergeException/index.js +8 -0
- package/types/javax/jcr/NamespaceException/index.d.ts +9 -0
- package/types/javax/jcr/NamespaceException/index.js +8 -0
- package/types/javax/jcr/NamespaceRegistry/index.d.ts +16 -14
- package/types/javax/jcr/NoSuchWorkspaceException/index.d.ts +8 -0
- package/types/javax/jcr/NoSuchWorkspaceException/index.js +8 -0
- package/types/javax/jcr/Node/index.d.ts +170 -160
- package/types/javax/jcr/NodeIterator/index.d.ts +3 -3
- package/types/javax/jcr/PathNotFoundException/index.d.ts +9 -0
- package/types/javax/jcr/PathNotFoundException/index.js +8 -0
- package/types/javax/jcr/Property/index.d.ts +216 -211
- package/types/javax/jcr/PropertyIterator/index.d.ts +2 -2
- package/types/javax/jcr/PropertyType/index.d.ts +211 -0
- package/types/javax/jcr/PropertyType/index.js +11 -0
- package/types/javax/jcr/RangeIterator/index.d.ts +6 -4
- package/types/javax/jcr/ReferentialIntegrityException/index.d.ts +7 -0
- package/types/javax/jcr/ReferentialIntegrityException/index.js +8 -0
- package/types/javax/jcr/Repository/index.d.ts +129 -131
- package/types/javax/jcr/RepositoryException/index.d.ts +8 -0
- package/types/javax/jcr/RepositoryException/index.js +8 -0
- package/types/javax/jcr/RepositoryFactory/index.d.ts +64 -63
- package/types/javax/jcr/SimpleCredentials/index.d.ts +57 -0
- package/types/javax/jcr/SimpleCredentials/index.js +15 -0
- package/types/javax/jcr/UnsupportedRepositoryOperationException/index.d.ts +7 -0
- package/types/javax/jcr/UnsupportedRepositoryOperationException/index.js +8 -0
- package/types/javax/jcr/Value/index.d.ts +81 -76
- package/types/javax/jcr/ValueFactory/index.d.ts +20 -15
- package/types/javax/jcr/ValueFormatException/index.d.ts +10 -0
- package/types/javax/jcr/ValueFormatException/index.js +8 -0
- package/types/javax/jcr/Workspace/index.d.ts +35 -32
- package/types/javax/jcr/lock/Lock/index.d.ts +41 -39
- package/types/javax/jcr/lock/LockException/index.d.ts +16 -0
- package/types/javax/jcr/lock/LockException/index.js +10 -0
- package/types/javax/jcr/lock/LockManager/index.d.ts +89 -87
- package/types/javax/jcr/nodetype/ConstraintViolationException/index.d.ts +9 -0
- package/types/javax/jcr/nodetype/ConstraintViolationException/index.js +8 -0
- package/types/javax/jcr/nodetype/InvalidNodeTypeDefinitionException/index.d.ts +8 -0
- package/types/javax/jcr/nodetype/InvalidNodeTypeDefinitionException/index.js +8 -0
- package/types/javax/jcr/nodetype/ItemDefinition/index.d.ts +15 -14
- package/types/javax/jcr/nodetype/NoSuchNodeTypeException/index.d.ts +7 -0
- package/types/javax/jcr/nodetype/NoSuchNodeTypeException/index.js +8 -0
- package/types/javax/jcr/nodetype/NodeDefinition/index.d.ts +59 -58
- package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +21 -19
- package/types/javax/jcr/nodetype/NodeType/index.d.ts +119 -118
- package/types/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +32 -30
- package/types/javax/jcr/nodetype/NodeTypeExistsException/index.d.ts +8 -0
- package/types/javax/jcr/nodetype/NodeTypeExistsException/index.js +8 -0
- package/types/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +1 -1
- package/types/javax/jcr/nodetype/NodeTypeManager/index.d.ts +7 -6
- package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +36 -33
- package/types/javax/jcr/nodetype/PropertyDefinition/index.d.ts +12 -11
- package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +22 -20
- package/types/javax/jcr/observation/Event/index.d.ts +63 -60
- package/types/javax/jcr/observation/EventIterator/index.d.ts +5 -5
- package/types/javax/jcr/observation/EventJournal/index.d.ts +6 -6
- package/types/javax/jcr/observation/EventListener/index.d.ts +8 -8
- package/types/javax/jcr/observation/EventListenerIterator/index.d.ts +5 -5
- package/types/javax/jcr/observation/ObservationManager/index.d.ts +87 -85
- package/types/javax/jcr/query/InvalidQueryException/index.d.ts +7 -0
- package/types/javax/jcr/query/InvalidQueryException/index.js +8 -0
- package/types/javax/jcr/query/Query/index.d.ts +71 -70
- package/types/javax/jcr/query/QueryManager/index.d.ts +21 -20
- package/types/javax/jcr/query/QueryResult/index.d.ts +11 -10
- package/types/javax/jcr/query/Row/index.d.ts +54 -54
- package/types/javax/jcr/query/RowIterator/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/And/index.d.ts +4 -4
- package/types/javax/jcr/query/qom/BindVariableValue/index.d.ts +2 -1
- package/types/javax/jcr/query/qom/ChildNode/index.d.ts +8 -7
- package/types/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +8 -7
- package/types/javax/jcr/query/qom/Column/index.d.ts +16 -14
- package/types/javax/jcr/query/qom/Comparison/index.d.ts +55 -55
- package/types/javax/jcr/query/qom/Constraint/index.d.ts +6 -8
- package/types/javax/jcr/query/qom/DescendantNode/index.d.ts +12 -11
- package/types/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +10 -9
- package/types/javax/jcr/query/qom/DynamicOperand/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +10 -9
- package/types/javax/jcr/query/qom/FullTextSearch/index.d.ts +63 -62
- package/types/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +11 -10
- package/types/javax/jcr/query/qom/Join/index.d.ts +3 -3
- package/types/javax/jcr/query/qom/JoinCondition/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Length/index.d.ts +8 -8
- package/types/javax/jcr/query/qom/Literal/index.d.ts +1 -1
- package/types/javax/jcr/query/qom/LowerCase/index.d.ts +10 -10
- package/types/javax/jcr/query/qom/NodeLocalName/index.d.ts +3 -2
- package/types/javax/jcr/query/qom/NodeName/index.d.ts +3 -2
- package/types/javax/jcr/query/qom/Not/index.d.ts +4 -4
- package/types/javax/jcr/query/qom/Operand/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Or/index.d.ts +8 -8
- package/types/javax/jcr/query/qom/Ordering/index.d.ts +33 -32
- package/types/javax/jcr/query/qom/PropertyExistence/index.d.ts +5 -4
- package/types/javax/jcr/query/qom/PropertyValue/index.d.ts +6 -5
- package/types/javax/jcr/query/qom/QueryObjectModel/index.d.ts +27 -27
- package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +3 -3
- package/types/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +220 -211
- package/types/javax/jcr/query/qom/SameNode/index.d.ts +8 -7
- package/types/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +11 -10
- package/types/javax/jcr/query/qom/Selector/index.d.ts +13 -12
- package/types/javax/jcr/query/qom/Source/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/StaticOperand/index.d.ts +3 -5
- package/types/javax/jcr/query/qom/UpperCase/index.d.ts +10 -10
- package/types/javax/jcr/retention/Hold/index.d.ts +10 -8
- package/types/javax/jcr/retention/RetentionManager/index.d.ts +91 -83
- package/types/javax/jcr/retention/RetentionPolicy/index.d.ts +4 -2
- package/types/javax/jcr/security/AccessControlEntry/index.d.ts +4 -3
- package/types/javax/jcr/security/AccessControlException/index.d.ts +9 -0
- package/types/javax/jcr/security/AccessControlException/index.js +8 -0
- package/types/javax/jcr/security/AccessControlList/index.d.ts +35 -35
- package/types/javax/jcr/security/AccessControlManager/index.d.ts +130 -129
- package/types/javax/jcr/security/AccessControlPolicy/index.d.ts +4 -6
- package/types/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +4 -4
- package/types/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +6 -5
- package/types/javax/jcr/security/Privilege/index.d.ts +73 -71
- package/types/javax/jcr/util/TraversingItemVisitor/index.d.ts +87 -0
- package/types/javax/jcr/util/TraversingItemVisitor/index.js +12 -0
- package/types/javax/jcr/util/TraversingItemVisitor.Default/index.d.ts +19 -0
- package/types/javax/jcr/util/TraversingItemVisitor.Default/index.js +11 -0
- package/types/javax/jcr/version/ActivityViolationException/index.d.ts +14 -0
- package/types/javax/jcr/version/ActivityViolationException/index.js +8 -0
- package/types/javax/jcr/version/LabelExistsVersionException/index.d.ts +9 -0
- package/types/javax/jcr/version/LabelExistsVersionException/index.js +8 -0
- package/types/javax/jcr/version/OnParentVersionAction/index.d.ts +71 -0
- package/types/javax/jcr/version/OnParentVersionAction/index.js +11 -0
- package/types/javax/jcr/version/Version/index.d.ts +36 -36
- package/types/javax/jcr/version/VersionException/index.d.ts +8 -0
- package/types/javax/jcr/version/VersionException/index.js +8 -0
- package/types/javax/jcr/version/VersionHistory/index.d.ts +116 -111
- package/types/javax/jcr/version/VersionIterator/index.d.ts +5 -5
- package/types/javax/jcr/version/VersionManager/index.d.ts +498 -489
- package/types/senselogic/sitevision/api/base/Builder/index.d.ts +83 -83
- package/types/senselogic/sitevision/api/base/Filter/index.d.ts +8 -8
- package/types/senselogic/sitevision/api/base/FilterSplit/index.d.ts +18 -17
- package/types/senselogic/sitevision/api/base/Loadable/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/base/Requireable.ScriptEngine/index.js +11 -0
- package/types/senselogic/sitevision/api/base/Resolver/index.d.ts +13 -13
- package/types/senselogic/sitevision/api/base/Wrapper/index.d.ts +9 -9
- package/types/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +124 -122
- package/types/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +22 -17
- package/types/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +22 -22
- package/types/senselogic/sitevision/api/i18n/Currency/index.d.ts +47 -44
- package/types/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +12 -10
- package/types/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +26 -24
- package/types/senselogic/sitevision/api/mail/Mail/index.d.ts +7 -7
- package/types/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +13 -15
- package/types/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +13 -15
- package/types/senselogic/sitevision/api/portlet/GenericConfigPortlet/index.d.ts +228 -0
- package/types/senselogic/sitevision/api/portlet/GenericConfigPortlet/index.js +14 -0
- package/types/senselogic/sitevision/api/portlet/GenericSiteVisionPortlet/index.d.ts +69 -0
- package/types/senselogic/sitevision/api/portlet/GenericSiteVisionPortlet/index.js +12 -0
- package/types/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +288 -262
- package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.d.ts +21 -19
- package/types/senselogic/sitevision/api/render/ImageScaler/index.d.ts +14 -14
- package/types/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +162 -160
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.d.ts +6 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.d.ts +6 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.d.ts +6 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.d.ts +6 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts +6 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.d.ts +6 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +12 -9
- package/types/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +40 -38
- package/types/senselogic/sitevision/api/render/velocity/VelocityException/index.d.ts +9 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityException/index.js +8 -0
- package/types/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +46 -46
- package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +183 -155
- package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.js +2 -1
- package/types/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +25 -22
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +77 -74
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +55 -53
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +58 -56
- package/types/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +30 -22
- package/types/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +18 -17
- package/types/senselogic/sitevision/api/search/SearchHit/index.d.ts +471 -444
- package/types/senselogic/sitevision/api/search/SearchResult/index.d.ts +279 -272
- package/types/senselogic/sitevision/api/search/SearchSortField/index.d.ts +58 -0
- package/types/senselogic/sitevision/api/search/SearchSortField/index.js +12 -0
- package/types/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +4 -1
- package/types/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +12 -10
- package/types/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +172 -170
- package/types/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +16 -18
- package/types/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +19 -21
- package/types/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +16 -18
- package/types/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +26 -28
- package/types/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +16 -18
- package/types/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +19 -21
- package/types/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +17 -15
- package/types/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +2 -0
- package/types/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +41 -27
- package/types/senselogic/sitevision/api/security/JwtException/index.d.ts +9 -0
- package/types/senselogic/sitevision/api/security/JwtException/index.js +8 -0
- package/types/senselogic/sitevision/api/security/MessageDigester/index.d.ts +14 -12
- package/types/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +16 -16
- package/types/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +4 -4
- package/types/senselogic/sitevision/api/security/Secret/index.d.ts +37 -0
- package/types/senselogic/sitevision/api/security/Secret/index.js +13 -0
- package/types/senselogic/sitevision/api/security/SecretStore/index.d.ts +13 -13
- package/types/senselogic/sitevision/api/security/UserUtil/index.d.ts +5 -5
- package/types/senselogic/sitevision/api/security/jaas/callback/NodePrincipalCallback/index.d.ts +109 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/NodePrincipalCallback/index.js +14 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/RedirectCallback/index.d.ts +22 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/RedirectCallback/index.js +10 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/ServletCallback/index.d.ts +39 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/ServletCallback/index.js +13 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/SharedStateCallback/index.d.ts +35 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/SharedStateCallback/index.js +12 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/UserAttributeCallback/index.d.ts +48 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/UserAttributeCallback/index.js +14 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/UserPrincipalCallback/index.d.ts +36 -0
- package/types/senselogic/sitevision/api/security/jaas/callback/UserPrincipalCallback/index.js +12 -0
- package/types/senselogic/sitevision/api/security/jaas/credential/AuthTypeCredential/index.d.ts +35 -0
- package/types/senselogic/sitevision/api/security/jaas/credential/AuthTypeCredential/index.js +12 -0
- package/types/senselogic/sitevision/api/security/jaas/credential/InetAddressCredential/index.d.ts +35 -0
- package/types/senselogic/sitevision/api/security/jaas/credential/InetAddressCredential/index.js +12 -0
- package/types/senselogic/sitevision/api/security/jaas/credential/PasswordCredential/index.d.ts +34 -0
- package/types/senselogic/sitevision/api/security/jaas/credential/PasswordCredential/index.js +12 -0
- package/types/senselogic/sitevision/api/security/jaas/credential/VirtualGroupCredential/index.d.ts +34 -0
- package/types/senselogic/sitevision/api/security/jaas/credential/VirtualGroupCredential/index.js +12 -0
- package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +12 -9
- package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +10 -8
- package/types/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +178 -177
- package/types/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +10 -12
- package/types/senselogic/sitevision/api/xml/XmlElement/index.d.ts +9 -5
- package/types/senselogic/sitevision/api/xml/XmlParserException/index.d.ts +9 -0
- package/types/senselogic/sitevision/api/xml/XmlParserException/index.js +8 -0
- /package/types/senselogic/sitevision/api/base/{Requireable/ScriptEngine → Requireable.ScriptEngine}/index.d.ts +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
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
|
+
getLocale: function getLocale() {},
|
|
15
|
+
withLocale: function withLocale() {},
|
|
16
|
+
getDecimalStyle: function getDecimalStyle() {},
|
|
17
|
+
withDecimalStyle: function withDecimalStyle() {},
|
|
18
|
+
getChronology: function getChronology() {},
|
|
19
|
+
withChronology: function withChronology() {},
|
|
20
|
+
getZone: function getZone() {},
|
|
21
|
+
withZone: function withZone() {},
|
|
22
|
+
getResolverStyle: function getResolverStyle() {},
|
|
23
|
+
withResolverStyle: function withResolverStyle() {},
|
|
24
|
+
getResolverFields: function getResolverFields() {},
|
|
25
|
+
withResolverFields: function withResolverFields() {},
|
|
26
|
+
format: function format() {},
|
|
27
|
+
formatTo: function formatTo() {},
|
|
28
|
+
parse: function parse() {},
|
|
29
|
+
parseBest: function parseBest() {},
|
|
30
|
+
parseUnresolved: function parseUnresolved() {},
|
|
31
|
+
toFormat: function toFormat() {},
|
|
32
|
+
toString: function toString() {}
|
|
33
|
+
};
|
|
34
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import type { Set } from "../../../util/Set";
|
|
2
|
+
import type { Locale } from "../../../util/Locale";
|
|
3
|
+
|
|
4
|
+
import type { Object } from "../../../lang/Object";
|
|
5
|
+
|
|
6
|
+
import type { String } from "../../../lang/String";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Localized decimal style used in date and time formatting.
|
|
10
|
+
* <p>
|
|
11
|
+
* A significant part of dealing with dates and times is the localization.
|
|
12
|
+
* This class acts as a central point for accessing the information.
|
|
13
|
+
* @implSpec This class is immutable and thread-safe.
|
|
14
|
+
* @since 1.8
|
|
15
|
+
*/
|
|
16
|
+
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
|
+
/**
|
|
49
|
+
* Gets the character that represents zero.
|
|
50
|
+
* <p>
|
|
51
|
+
* The character used to represent digits may vary by culture.
|
|
52
|
+
* This method specifies the zero character to use, which implies the characters for one to nine.
|
|
53
|
+
* @return the character for zero
|
|
54
|
+
*/
|
|
55
|
+
getZeroDigit(): string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Returns a copy of the info with a new character that represents zero.
|
|
59
|
+
* <p>
|
|
60
|
+
* The character used to represent digits may vary by culture.
|
|
61
|
+
* This method specifies the zero character to use, which implies the characters for one to nine.
|
|
62
|
+
* @param zeroDigit the character for zero
|
|
63
|
+
* @return a copy with a new character that represents zero, not null
|
|
64
|
+
*/
|
|
65
|
+
withZeroDigit(zeroDigit: string): DecimalStyle;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Gets the character that represents the positive sign.
|
|
69
|
+
* <p>
|
|
70
|
+
* The character used to represent a positive number may vary by culture.
|
|
71
|
+
* This method specifies the character to use.
|
|
72
|
+
* @return the character for the positive sign
|
|
73
|
+
*/
|
|
74
|
+
getPositiveSign(): string;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Returns a copy of the info with a new character that represents the positive sign.
|
|
78
|
+
* <p>
|
|
79
|
+
* The character used to represent a positive number may vary by culture.
|
|
80
|
+
* This method specifies the character to use.
|
|
81
|
+
* @param positiveSign the character for the positive sign
|
|
82
|
+
* @return a copy with a new character that represents the positive sign, not null
|
|
83
|
+
*/
|
|
84
|
+
withPositiveSign(positiveSign: string): DecimalStyle;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Gets the character that represents the negative sign.
|
|
88
|
+
* <p>
|
|
89
|
+
* The character used to represent a negative number may vary by culture.
|
|
90
|
+
* This method specifies the character to use.
|
|
91
|
+
* @return the character for the negative sign
|
|
92
|
+
*/
|
|
93
|
+
getNegativeSign(): string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Returns a copy of the info with a new character that represents the negative sign.
|
|
97
|
+
* <p>
|
|
98
|
+
* The character used to represent a negative number may vary by culture.
|
|
99
|
+
* This method specifies the character to use.
|
|
100
|
+
* @param negativeSign the character for the negative sign
|
|
101
|
+
* @return a copy with a new character that represents the negative sign, not null
|
|
102
|
+
*/
|
|
103
|
+
withNegativeSign(negativeSign: string): DecimalStyle;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Gets the character that represents the decimal point.
|
|
107
|
+
* <p>
|
|
108
|
+
* The character used to represent a decimal point may vary by culture.
|
|
109
|
+
* This method specifies the character to use.
|
|
110
|
+
* @return the character for the decimal point
|
|
111
|
+
*/
|
|
112
|
+
getDecimalSeparator(): string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Returns a copy of the info with a new character that represents the decimal point.
|
|
116
|
+
* <p>
|
|
117
|
+
* The character used to represent a decimal point may vary by culture.
|
|
118
|
+
* This method specifies the character to use.
|
|
119
|
+
* @param decimalSeparator the character for the decimal point
|
|
120
|
+
* @return a copy with a new character that represents the decimal point, not null
|
|
121
|
+
*/
|
|
122
|
+
withDecimalSeparator(decimalSeparator: string): DecimalStyle;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Checks if this DecimalStyle is equal to another DecimalStyle.
|
|
126
|
+
* @param obj the object to check, null returns false
|
|
127
|
+
* @return true if this is equal to the other date
|
|
128
|
+
*/
|
|
129
|
+
equals(obj: unknown): boolean;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* A hash code for this DecimalStyle.
|
|
133
|
+
* @return a suitable hash code
|
|
134
|
+
*/
|
|
135
|
+
hashCode(): number;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Returns a string describing this DecimalStyle.
|
|
139
|
+
* @return a string description, not null
|
|
140
|
+
*/
|
|
141
|
+
toString(): string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The standard set of non-localized decimal style symbols.
|
|
145
|
+
* <p>
|
|
146
|
+
* This uses standard ASCII characters for zero, positive, negative and a dot for the decimal point.
|
|
147
|
+
|
|
148
|
+
*/
|
|
149
|
+
STANDARD: DecimalStyle;
|
|
150
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
getAvailableLocales: function getAvailableLocales() {},
|
|
9
|
+
ofDefaultLocale: function ofDefaultLocale() {},
|
|
10
|
+
of: function of() {},
|
|
11
|
+
getZeroDigit: function getZeroDigit() {},
|
|
12
|
+
withZeroDigit: function withZeroDigit() {},
|
|
13
|
+
getPositiveSign: function getPositiveSign() {},
|
|
14
|
+
withPositiveSign: function withPositiveSign() {},
|
|
15
|
+
getNegativeSign: function getNegativeSign() {},
|
|
16
|
+
withNegativeSign: function withNegativeSign() {},
|
|
17
|
+
getDecimalSeparator: function getDecimalSeparator() {},
|
|
18
|
+
withDecimalSeparator: function withDecimalSeparator() {},
|
|
19
|
+
equals: function equals() {},
|
|
20
|
+
hashCode: function hashCode() {},
|
|
21
|
+
toString: function toString() {}
|
|
22
|
+
};
|
|
23
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumeration of the style of a localized date, time or date-time formatter.
|
|
3
|
+
* <p>
|
|
4
|
+
* These styles are used when obtaining a date-time style from configuration.
|
|
5
|
+
* See {@link DateTimeFormatter} and {@link DateTimeFormatterBuilder} for usage.
|
|
6
|
+
* @implSpec This is an immutable and thread-safe enum.
|
|
7
|
+
* @since 1.8
|
|
8
|
+
*/
|
|
9
|
+
export type FormatStyle = {
|
|
10
|
+
FULL: "FULL";
|
|
11
|
+
LONG: "LONG";
|
|
12
|
+
MEDIUM: "MEDIUM";
|
|
13
|
+
SHORT: "SHORT";
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumeration of different ways to resolve dates and times.
|
|
3
|
+
* <p>
|
|
4
|
+
* Parsing a text string occurs in two phases.
|
|
5
|
+
* Phase 1 is a basic text parse according to the fields added to the builder.
|
|
6
|
+
* Phase 2 resolves the parsed field-value pairs into date and/or time objects.
|
|
7
|
+
* This style is used to control how phase 2, resolving, happens.
|
|
8
|
+
* @implSpec This is an immutable and thread-safe enum.
|
|
9
|
+
* @since 1.8
|
|
10
|
+
*/
|
|
11
|
+
export type ResolverStyle = {
|
|
12
|
+
STRICT: "STRICT";
|
|
13
|
+
SMART: "SMART";
|
|
14
|
+
LENIENT: "LENIENT";
|
|
15
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumeration of the style of text formatting and parsing.
|
|
3
|
+
* <p>
|
|
4
|
+
* Text styles define three sizes for the formatted text - 'full', 'short' and 'narrow'.
|
|
5
|
+
* Each of these three sizes is available in both 'standard' and 'stand-alone' variations.
|
|
6
|
+
* <p>
|
|
7
|
+
* The difference between the three sizes is obvious in most languages.
|
|
8
|
+
* For example, in English the 'full' month is 'January', the 'short' month is 'Jan'
|
|
9
|
+
* and the 'narrow' month is 'J'. Note that the narrow size is often not unique.
|
|
10
|
+
* For example, 'January', 'June' and 'July' all have the 'narrow' text 'J'.
|
|
11
|
+
* <p>
|
|
12
|
+
* The difference between the 'standard' and 'stand-alone' forms is trickier to describe
|
|
13
|
+
* as there is no difference in English. However, in other languages there is a difference
|
|
14
|
+
* in the word used when the text is used alone, as opposed to in a complete date.
|
|
15
|
+
* For example, the word used for a month when used alone in a date picker is different
|
|
16
|
+
* to the word used for month in association with a day and year in a date.
|
|
17
|
+
* @implSpec This is immutable and thread-safe enum.
|
|
18
|
+
*/
|
|
19
|
+
export type TextStyle = {
|
|
20
|
+
FULL: "FULL";
|
|
21
|
+
FULL_STANDALONE: "FULL_STANDALONE";
|
|
22
|
+
SHORT: "SHORT";
|
|
23
|
+
SHORT_STANDALONE: "SHORT_STANDALONE";
|
|
24
|
+
NARROW: "NARROW";
|
|
25
|
+
NARROW_STANDALONE: "NARROW_STANDALONE";
|
|
26
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
FULL: "FULL",
|
|
9
|
+
FULL_STANDALONE: "FULL_STANDALONE",
|
|
10
|
+
SHORT: "SHORT",
|
|
11
|
+
SHORT_STANDALONE: "SHORT_STANDALONE",
|
|
12
|
+
NARROW: "NARROW",
|
|
13
|
+
NARROW_STANDALONE: "NARROW_STANDALONE"
|
|
14
|
+
};
|
|
15
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A standard set of fields.
|
|
3
|
+
* <p>
|
|
4
|
+
* This set of fields provide field-based access to manipulate a date, time or date-time.
|
|
5
|
+
* The standard set of fields can be extended by implementing {@link TemporalField}.
|
|
6
|
+
* <p>
|
|
7
|
+
* These fields are intended to be applicable in multiple calendar systems.
|
|
8
|
+
* For example, most non-ISO calendar systems define dates as a year, month and day,
|
|
9
|
+
* just with slightly different rules.
|
|
10
|
+
* The documentation of each field explains how it operates.
|
|
11
|
+
* @implSpec This is a final, immutable and thread-safe enum.
|
|
12
|
+
* @since 1.8
|
|
13
|
+
*/
|
|
14
|
+
export type ChronoField = {
|
|
15
|
+
NANO_OF_SECOND: "NANO_OF_SECOND";
|
|
16
|
+
NANO_OF_DAY: "NANO_OF_DAY";
|
|
17
|
+
MICRO_OF_SECOND: "MICRO_OF_SECOND";
|
|
18
|
+
MICRO_OF_DAY: "MICRO_OF_DAY";
|
|
19
|
+
MILLI_OF_SECOND: "MILLI_OF_SECOND";
|
|
20
|
+
MILLI_OF_DAY: "MILLI_OF_DAY";
|
|
21
|
+
SECOND_OF_MINUTE: "SECOND_OF_MINUTE";
|
|
22
|
+
SECOND_OF_DAY: "SECOND_OF_DAY";
|
|
23
|
+
MINUTE_OF_HOUR: "MINUTE_OF_HOUR";
|
|
24
|
+
MINUTE_OF_DAY: "MINUTE_OF_DAY";
|
|
25
|
+
HOUR_OF_AMPM: "HOUR_OF_AMPM";
|
|
26
|
+
CLOCK_HOUR_OF_AMPM: "CLOCK_HOUR_OF_AMPM";
|
|
27
|
+
HOUR_OF_DAY: "HOUR_OF_DAY";
|
|
28
|
+
CLOCK_HOUR_OF_DAY: "CLOCK_HOUR_OF_DAY";
|
|
29
|
+
AMPM_OF_DAY: "AMPM_OF_DAY";
|
|
30
|
+
DAY_OF_WEEK: "DAY_OF_WEEK";
|
|
31
|
+
ALIGNED_DAY_OF_WEEK_IN_MONTH: "ALIGNED_DAY_OF_WEEK_IN_MONTH";
|
|
32
|
+
ALIGNED_DAY_OF_WEEK_IN_YEAR: "ALIGNED_DAY_OF_WEEK_IN_YEAR";
|
|
33
|
+
DAY_OF_MONTH: "DAY_OF_MONTH";
|
|
34
|
+
DAY_OF_YEAR: "DAY_OF_YEAR";
|
|
35
|
+
EPOCH_DAY: "EPOCH_DAY";
|
|
36
|
+
ALIGNED_WEEK_OF_MONTH: "ALIGNED_WEEK_OF_MONTH";
|
|
37
|
+
ALIGNED_WEEK_OF_YEAR: "ALIGNED_WEEK_OF_YEAR";
|
|
38
|
+
MONTH_OF_YEAR: "MONTH_OF_YEAR";
|
|
39
|
+
PROLEPTIC_MONTH: "PROLEPTIC_MONTH";
|
|
40
|
+
YEAR_OF_ERA: "YEAR_OF_ERA";
|
|
41
|
+
YEAR: "YEAR";
|
|
42
|
+
ERA: "ERA";
|
|
43
|
+
INSTANT_SECONDS: "INSTANT_SECONDS";
|
|
44
|
+
OFFSET_SECONDS: "OFFSET_SECONDS";
|
|
45
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
NANO_OF_SECOND: "NANO_OF_SECOND",
|
|
9
|
+
NANO_OF_DAY: "NANO_OF_DAY",
|
|
10
|
+
MICRO_OF_SECOND: "MICRO_OF_SECOND",
|
|
11
|
+
MICRO_OF_DAY: "MICRO_OF_DAY",
|
|
12
|
+
MILLI_OF_SECOND: "MILLI_OF_SECOND",
|
|
13
|
+
MILLI_OF_DAY: "MILLI_OF_DAY",
|
|
14
|
+
SECOND_OF_MINUTE: "SECOND_OF_MINUTE",
|
|
15
|
+
SECOND_OF_DAY: "SECOND_OF_DAY",
|
|
16
|
+
MINUTE_OF_HOUR: "MINUTE_OF_HOUR",
|
|
17
|
+
MINUTE_OF_DAY: "MINUTE_OF_DAY",
|
|
18
|
+
HOUR_OF_AMPM: "HOUR_OF_AMPM",
|
|
19
|
+
CLOCK_HOUR_OF_AMPM: "CLOCK_HOUR_OF_AMPM",
|
|
20
|
+
HOUR_OF_DAY: "HOUR_OF_DAY",
|
|
21
|
+
CLOCK_HOUR_OF_DAY: "CLOCK_HOUR_OF_DAY",
|
|
22
|
+
AMPM_OF_DAY: "AMPM_OF_DAY",
|
|
23
|
+
DAY_OF_WEEK: "DAY_OF_WEEK",
|
|
24
|
+
ALIGNED_DAY_OF_WEEK_IN_MONTH: "ALIGNED_DAY_OF_WEEK_IN_MONTH",
|
|
25
|
+
ALIGNED_DAY_OF_WEEK_IN_YEAR: "ALIGNED_DAY_OF_WEEK_IN_YEAR",
|
|
26
|
+
DAY_OF_MONTH: "DAY_OF_MONTH",
|
|
27
|
+
DAY_OF_YEAR: "DAY_OF_YEAR",
|
|
28
|
+
EPOCH_DAY: "EPOCH_DAY",
|
|
29
|
+
ALIGNED_WEEK_OF_MONTH: "ALIGNED_WEEK_OF_MONTH",
|
|
30
|
+
ALIGNED_WEEK_OF_YEAR: "ALIGNED_WEEK_OF_YEAR",
|
|
31
|
+
MONTH_OF_YEAR: "MONTH_OF_YEAR",
|
|
32
|
+
PROLEPTIC_MONTH: "PROLEPTIC_MONTH",
|
|
33
|
+
YEAR_OF_ERA: "YEAR_OF_ERA",
|
|
34
|
+
YEAR: "YEAR",
|
|
35
|
+
ERA: "ERA",
|
|
36
|
+
INSTANT_SECONDS: "INSTANT_SECONDS",
|
|
37
|
+
OFFSET_SECONDS: "OFFSET_SECONDS"
|
|
38
|
+
};
|
|
39
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import type { TemporalUnit } from "../TemporalUnit";
|
|
2
|
+
|
|
3
|
+
import type { TemporalAdjuster } from "../TemporalAdjuster";
|
|
4
|
+
import type { TemporalField } from "../TemporalField";
|
|
5
|
+
|
|
6
|
+
import type { TemporalAmount } from "../TemporalAmount";
|
|
7
|
+
import type { TemporalAccessor } from "../TemporalAccessor";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Framework-level interface defining read-write access to a temporal object,
|
|
11
|
+
* such as a date, time, offset or some combination of these.
|
|
12
|
+
* <p>
|
|
13
|
+
* This is the base interface type for date, time and offset objects that
|
|
14
|
+
* are complete enough to be manipulated using plus and minus.
|
|
15
|
+
* It is implemented by those classes that can provide and manipulate information
|
|
16
|
+
* as {@linkplain TemporalField fields} or {@linkplain TemporalQuery queries}.
|
|
17
|
+
* See {@link TemporalAccessor} for the read-only version of this interface.
|
|
18
|
+
* <p>
|
|
19
|
+
* Most date and time information can be represented as a number.
|
|
20
|
+
* These are modeled using {@code TemporalField} with the number held using
|
|
21
|
+
* a {@code long} to handle large values. Year, month and day-of-month are
|
|
22
|
+
* simple examples of fields, but they also include instant and offsets.
|
|
23
|
+
* See {@link ChronoField} for the standard set of fields.
|
|
24
|
+
* <p>
|
|
25
|
+
* Two pieces of date/time information cannot be represented by numbers,
|
|
26
|
+
* the {@linkplain java.time.chrono.Chronology chronology} and the
|
|
27
|
+
* {@linkplain java.time.ZoneId time-zone}.
|
|
28
|
+
* These can be accessed via {@link #query(TemporalQuery) queries} using
|
|
29
|
+
* the static methods defined on {@link TemporalQuery}.
|
|
30
|
+
* <p>
|
|
31
|
+
* This interface is a framework-level interface that should not be widely
|
|
32
|
+
* used in application code. Instead, applications should create and pass
|
|
33
|
+
* around instances of concrete types, such as {@code LocalDate}.
|
|
34
|
+
* There are many reasons for this, part of which is that implementations
|
|
35
|
+
* of this interface may be in calendar systems other than ISO.
|
|
36
|
+
* See {@link java.time.chrono.ChronoLocalDate} for a fuller discussion of the issues.
|
|
37
|
+
*
|
|
38
|
+
* <h3>When to implement</h3>
|
|
39
|
+
* <p>
|
|
40
|
+
* A class should implement this interface if it meets three criteria:
|
|
41
|
+
* <ul>
|
|
42
|
+
* <li>it provides access to date/time/offset information, as per {@code TemporalAccessor}
|
|
43
|
+
* <li>the set of fields are contiguous from the largest to the smallest
|
|
44
|
+
* <li>the set of fields are complete, such that no other field is needed to define the
|
|
45
|
+
* valid range of values for the fields that are represented
|
|
46
|
+
* </ul>
|
|
47
|
+
* <p>
|
|
48
|
+
* Four examples make this clear:
|
|
49
|
+
* <ul>
|
|
50
|
+
* <li>{@code LocalDate} implements this interface as it represents a set of fields
|
|
51
|
+
* that are contiguous from days to forever and require no external information to determine
|
|
52
|
+
* the validity of each date. It is therefore able to implement plus/minus correctly.
|
|
53
|
+
* <li>{@code LocalTime} implements this interface as it represents a set of fields
|
|
54
|
+
* that are contiguous from nanos to within days and require no external information to determine
|
|
55
|
+
* validity. It is able to implement plus/minus correctly, by wrapping around the day.
|
|
56
|
+
* <li>{@code MonthDay}, the combination of month-of-year and day-of-month, does not implement
|
|
57
|
+
* this interface. While the combination is contiguous, from days to months within years,
|
|
58
|
+
* the combination does not have sufficient information to define the valid range of values
|
|
59
|
+
* for day-of-month. As such, it is unable to implement plus/minus correctly.
|
|
60
|
+
* <li>The combination day-of-week and day-of-month ("Friday the 13th") should not implement
|
|
61
|
+
* this interface. It does not represent a contiguous set of fields, as days to weeks overlaps
|
|
62
|
+
* days to months.
|
|
63
|
+
* </ul>
|
|
64
|
+
* @implSpec This interface places no restrictions on the mutability of implementations,
 however immutability is strongly recommended.
 All implementations must be {@link Comparable}.
|
|
65
|
+
* @since 1.8
|
|
66
|
+
*/
|
|
67
|
+
export type Temporal = TemporalAccessor & {
|
|
68
|
+
/**
|
|
69
|
+
* Checks if the specified unit is supported.
|
|
70
|
+
* <p>
|
|
71
|
+
* This checks if the specified unit can be added to, or subtracted from, this date-time.
|
|
72
|
+
* If false, then calling the {@link #plus(long, TemporalUnit)} and
|
|
73
|
+
* {@link #minus(long, TemporalUnit) minus} methods will throw an exception.
|
|
74
|
+
* @implSpec Implementations must check and handle all units defined in {@link ChronoUnit}.
 If the unit is supported, then true must be returned, otherwise false must be returned.
 <p>
 If the field is not a {@code ChronoUnit}, then the result of this method
 is obtained by invoking {@code TemporalUnit.isSupportedBy(Temporal)}
 passing {@code this} as the argument.
 <p>
 Implementations must ensure that no observable state is altered when this
 read-only method is invoked.
|
|
75
|
+
* @param unit the unit to check, null returns false
|
|
76
|
+
* @return true if the unit can be added/subtracted, false if not
|
|
77
|
+
*/
|
|
78
|
+
isSupported(unit: TemporalUnit): boolean;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Returns an adjusted object of the same type as this object with the adjustment made.
|
|
82
|
+
* <p>
|
|
83
|
+
* This adjusts this date-time according to the rules of the specified adjuster.
|
|
84
|
+
* A simple adjuster might simply set the one of the fields, such as the year field.
|
|
85
|
+
* A more complex adjuster might set the date to the last day of the month.
|
|
86
|
+
* A selection of common adjustments is provided in
|
|
87
|
+
* {@link java.time.temporal.TemporalAdjusters TemporalAdjusters}.
|
|
88
|
+
* These include finding the "last day of the month" and "next Wednesday".
|
|
89
|
+
* The adjuster is responsible for handling special cases, such as the varying
|
|
90
|
+
* lengths of month and leap years.
|
|
91
|
+
* <p>
|
|
92
|
+
* Some example code indicating how and why this method is used:
|
|
93
|
+
* <pre>
|
|
94
|
+
* date = date.with(Month.JULY); // most key classes implement TemporalAdjuster
|
|
95
|
+
* date = date.with(lastDayOfMonth()); // static import from Adjusters
|
|
96
|
+
* date = date.with(next(WEDNESDAY)); // static import from Adjusters and DayOfWeek
|
|
97
|
+
* </pre>
|
|
98
|
+
* @implSpec <p>
 Implementations must not alter either this object or the specified temporal object.
 Instead, an adjusted copy of the original must be returned.
 This provides equivalent, safe behavior for immutable and mutable implementations.
 <p>
 The default implementation must behave equivalent to this code:
 <pre>
 return adjuster.adjustInto(this);
 </pre>
|
|
99
|
+
* @param adjuster the adjuster to use, not null
|
|
100
|
+
* @return an object of the same type with the specified adjustment made, not null
|
|
101
|
+
* @throws DateTimeException if unable to make the adjustment
|
|
102
|
+
* @throws ArithmeticException if numeric overflow occurs
|
|
103
|
+
*/
|
|
104
|
+
with(adjuster: TemporalAdjuster): Temporal;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Returns an object of the same type as this object with the specified field altered.
|
|
108
|
+
* <p>
|
|
109
|
+
* This returns a new object based on this one with the value for the specified field changed.
|
|
110
|
+
* For example, on a {@code LocalDate}, this could be used to set the year, month or day-of-month.
|
|
111
|
+
* The returned object will have the same observable type as this object.
|
|
112
|
+
* <p>
|
|
113
|
+
* In some cases, changing a field is not fully defined. For example, if the target object is
|
|
114
|
+
* a date representing the 31st January, then changing the month to February would be unclear.
|
|
115
|
+
* In cases like this, the field is responsible for resolving the result. Typically it will choose
|
|
116
|
+
* the previous valid date, which would be the last valid day of February in this example.
|
|
117
|
+
* @implSpec Implementations must check and handle all fields defined in {@link ChronoField}.
 If the field is supported, then the adjustment must be performed.
 If unsupported, then an {@code UnsupportedTemporalTypeException} must be thrown.
 <p>
 If the field is not a {@code ChronoField}, then the result of this method
 is obtained by invoking {@code TemporalField.adjustInto(Temporal, long)}
 passing {@code this} as the first argument.
 <p>
 Implementations must not alter this object.
 Instead, an adjusted copy of the original must be returned.
 This provides equivalent, safe behavior for immutable and mutable implementations.
|
|
118
|
+
* @param field the field to set in the result, not null
|
|
119
|
+
* @param newValue the new value of the field in the result
|
|
120
|
+
* @return an object of the same type with the specified field set, not null
|
|
121
|
+
* @throws DateTimeException if the field cannot be set
|
|
122
|
+
* @throws UnsupportedTemporalTypeException if the field is not supported
|
|
123
|
+
* @throws ArithmeticException if numeric overflow occurs
|
|
124
|
+
*/
|
|
125
|
+
with(field: TemporalField, newValue: number): Temporal;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Returns an object of the same type as this object with an amount added.
|
|
129
|
+
* <p>
|
|
130
|
+
* This adjusts this temporal, adding according to the rules of the specified amount.
|
|
131
|
+
* The amount is typically a {@link java.time.Period} but may be any other type implementing
|
|
132
|
+
* the {@link TemporalAmount} interface, such as {@link java.time.Duration}.
|
|
133
|
+
* <p>
|
|
134
|
+
* Some example code indicating how and why this method is used:
|
|
135
|
+
* <pre>
|
|
136
|
+
* date = date.plus(period); // add a Period instance
|
|
137
|
+
* date = date.plus(duration); // add a Duration instance
|
|
138
|
+
* date = date.plus(workingDays(6)); // example user-written workingDays method
|
|
139
|
+
* </pre>
|
|
140
|
+
* <p>
|
|
141
|
+
* Note that calling {@code plus} followed by {@code minus} is not guaranteed to
|
|
142
|
+
* return the same date-time.
|
|
143
|
+
* @implSpec <p>
 Implementations must not alter either this object or the specified temporal object.
 Instead, an adjusted copy of the original must be returned.
 This provides equivalent, safe behavior for immutable and mutable implementations.
 <p>
 The default implementation must behave equivalent to this code:
 <pre>
 return amount.addTo(this);
 </pre>
|
|
144
|
+
* @param amount the amount to add, not null
|
|
145
|
+
* @return an object of the same type with the specified adjustment made, not null
|
|
146
|
+
* @throws DateTimeException if the addition cannot be made
|
|
147
|
+
* @throws ArithmeticException if numeric overflow occurs
|
|
148
|
+
*/
|
|
149
|
+
plus(amount: TemporalAmount): Temporal;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Returns an object of the same type as this object with the specified period added.
|
|
153
|
+
* <p>
|
|
154
|
+
* This method returns a new object based on this one with the specified period added.
|
|
155
|
+
* For example, on a {@code LocalDate}, this could be used to add a number of years, months or days.
|
|
156
|
+
* The returned object will have the same observable type as this object.
|
|
157
|
+
* <p>
|
|
158
|
+
* In some cases, changing a field is not fully defined. For example, if the target object is
|
|
159
|
+
* a date representing the 31st January, then adding one month would be unclear.
|
|
160
|
+
* In cases like this, the field is responsible for resolving the result. Typically it will choose
|
|
161
|
+
* the previous valid date, which would be the last valid day of February in this example.
|
|
162
|
+
* @implSpec Implementations must check and handle all units defined in {@link ChronoUnit}.
 If the unit is supported, then the addition must be performed.
 If unsupported, then an {@code UnsupportedTemporalTypeException} must be thrown.
 <p>
 If the unit is not a {@code ChronoUnit}, then the result of this method
 is obtained by invoking {@code TemporalUnit.addTo(Temporal, long)}
 passing {@code this} as the first argument.
 <p>
 Implementations must not alter this object.
 Instead, an adjusted copy of the original must be returned.
 This provides equivalent, safe behavior for immutable and mutable implementations.
|
|
163
|
+
* @param amountToAdd the amount of the specified unit to add, may be negative
|
|
164
|
+
* @param unit the unit of the amount to add, not null
|
|
165
|
+
* @return an object of the same type with the specified period added, not null
|
|
166
|
+
* @throws DateTimeException if the unit cannot be added
|
|
167
|
+
* @throws UnsupportedTemporalTypeException if the unit is not supported
|
|
168
|
+
* @throws ArithmeticException if numeric overflow occurs
|
|
169
|
+
*/
|
|
170
|
+
plus(amountToAdd: number, unit: TemporalUnit): Temporal;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Returns an object of the same type as this object with an amount subtracted.
|
|
174
|
+
* <p>
|
|
175
|
+
* This adjusts this temporal, subtracting according to the rules of the specified amount.
|
|
176
|
+
* The amount is typically a {@link java.time.Period} but may be any other type implementing
|
|
177
|
+
* the {@link TemporalAmount} interface, such as {@link java.time.Duration}.
|
|
178
|
+
* <p>
|
|
179
|
+
* Some example code indicating how and why this method is used:
|
|
180
|
+
* <pre>
|
|
181
|
+
* date = date.minus(period); // subtract a Period instance
|
|
182
|
+
* date = date.minus(duration); // subtract a Duration instance
|
|
183
|
+
* date = date.minus(workingDays(6)); // example user-written workingDays method
|
|
184
|
+
* </pre>
|
|
185
|
+
* <p>
|
|
186
|
+
* Note that calling {@code plus} followed by {@code minus} is not guaranteed to
|
|
187
|
+
* return the same date-time.
|
|
188
|
+
* @implSpec <p>
 Implementations must not alter either this object or the specified temporal object.
 Instead, an adjusted copy of the original must be returned.
 This provides equivalent, safe behavior for immutable and mutable implementations.
 <p>
 The default implementation must behave equivalent to this code:
 <pre>
 return amount.subtractFrom(this);
 </pre>
|
|
189
|
+
* @param amount the amount to subtract, not null
|
|
190
|
+
* @return an object of the same type with the specified adjustment made, not null
|
|
191
|
+
* @throws DateTimeException if the subtraction cannot be made
|
|
192
|
+
* @throws ArithmeticException if numeric overflow occurs
|
|
193
|
+
*/
|
|
194
|
+
minus(amount: TemporalAmount): Temporal;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Returns an object of the same type as this object with the specified period subtracted.
|
|
198
|
+
* <p>
|
|
199
|
+
* This method returns a new object based on this one with the specified period subtracted.
|
|
200
|
+
* For example, on a {@code LocalDate}, this could be used to subtract a number of years, months or days.
|
|
201
|
+
* The returned object will have the same observable type as this object.
|
|
202
|
+
* <p>
|
|
203
|
+
* In some cases, changing a field is not fully defined. For example, if the target object is
|
|
204
|
+
* a date representing the 31st March, then subtracting one month would be unclear.
|
|
205
|
+
* In cases like this, the field is responsible for resolving the result. Typically it will choose
|
|
206
|
+
* the previous valid date, which would be the last valid day of February in this example.
|
|
207
|
+
* @implSpec Implementations must behave in a manor equivalent to the default method behavior.
 <p>
 Implementations must not alter this object.
 Instead, an adjusted copy of the original must be returned.
 This provides equivalent, safe behavior for immutable and mutable implementations.
 <p>
 The default implementation must behave equivalent to this code:
 <pre>
 return (amountToSubtract == Long.MIN_VALUE ?
 plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amountToSubtract, unit));
 </pre>
|
|
208
|
+
* @param amountToSubtract the amount of the specified unit to subtract, may be negative
|
|
209
|
+
* @param unit the unit of the amount to subtract, not null
|
|
210
|
+
* @return an object of the same type with the specified period subtracted, not null
|
|
211
|
+
* @throws DateTimeException if the unit cannot be subtracted
|
|
212
|
+
* @throws UnsupportedTemporalTypeException if the unit is not supported
|
|
213
|
+
* @throws ArithmeticException if numeric overflow occurs
|
|
214
|
+
*/
|
|
215
|
+
minus(amountToSubtract: number, unit: TemporalUnit): Temporal;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Calculates the amount of time until another temporal in terms of the specified unit.
|
|
219
|
+
* <p>
|
|
220
|
+
* This calculates the amount of time between two temporal objects
|
|
221
|
+
* in terms of a single {@code TemporalUnit}.
|
|
222
|
+
* The start and end points are {@code this} and the specified temporal.
|
|
223
|
+
* The end point is converted to be of the same type as the start point if different.
|
|
224
|
+
* The result will be negative if the end is before the start.
|
|
225
|
+
* For example, the amount in hours between two temporal objects can be
|
|
226
|
+
* calculated using {@code startTime.until(endTime, HOURS)}.
|
|
227
|
+
* <p>
|
|
228
|
+
* The calculation returns a whole number, representing the number of
|
|
229
|
+
* complete units between the two temporals.
|
|
230
|
+
* For example, the amount in hours between the times 11:30 and 13:29
|
|
231
|
+
* will only be one hour as it is one minute short of two hours.
|
|
232
|
+
* <p>
|
|
233
|
+
* There are two equivalent ways of using this method.
|
|
234
|
+
* The first is to invoke this method directly.
|
|
235
|
+
* The second is to use {@link TemporalUnit#between(Temporal, Temporal)}:
|
|
236
|
+
* <pre>
|
|
237
|
+
* // these two lines are equivalent
|
|
238
|
+
* temporal = start.until(end, unit);
|
|
239
|
+
* temporal = unit.between(start, end);
|
|
240
|
+
* </pre>
|
|
241
|
+
* The choice should be made based on which makes the code more readable.
|
|
242
|
+
* <p>
|
|
243
|
+
* For example, this method allows the number of days between two dates to
|
|
244
|
+
* be calculated:
|
|
245
|
+
* <pre>
|
|
246
|
+
* long daysBetween = start.until(end, DAYS);
|
|
247
|
+
* // or alternatively
|
|
248
|
+
* long daysBetween = DAYS.between(start, end);
|
|
249
|
+
* </pre>
|
|
250
|
+
* @implSpec Implementations must begin by checking to ensure that the input temporal
 object is of the same observable type as the implementation.
 They must then perform the calculation for all instances of {@link ChronoUnit}.
 An {@code UnsupportedTemporalTypeException} must be thrown for {@code ChronoUnit}
 instances that are unsupported.
 <p>
 If the unit is not a {@code ChronoUnit}, then the result of this method
 is obtained by invoking {@code TemporalUnit.between(Temporal, Temporal)}
 passing {@code this} as the first argument and the converted input temporal as
 the second argument.
 <p>
 In summary, implementations must behave in a manner equivalent to this pseudo-code:
 <pre>
 // convert the end temporal to the same type as this class
 if (unit instanceof ChronoUnit) {
 // if unit is supported, then calculate and return result
 // else throw UnsupportedTemporalTypeException for unsupported units
 }
 return unit.between(this, convertedEndTemporal);
 </pre>
 <p>
 Note that the unit's {@code between} method must only be invoked if the
 two temporal objects have exactly the same type evaluated by {@code getClass()}.
 <p>
 Implementations must ensure that no observable state is altered when this
 read-only method is invoked.
|
|
251
|
+
* @param endExclusive the end temporal, exclusive, converted to be of the
 same type as this object, not null
|
|
252
|
+
* @param unit the unit to measure the amount in, not null
|
|
253
|
+
* @return the amount of time between this temporal object and the specified one
 in terms of the unit; positive if the specified object is later than this one,
 negative if it is earlier than this one
|
|
254
|
+
* @throws DateTimeException if the amount cannot be calculated, or the end
 temporal cannot be converted to the same type as this temporal
|
|
255
|
+
* @throws UnsupportedTemporalTypeException if the unit is not supported
|
|
256
|
+
* @throws ArithmeticException if numeric overflow occurs
|
|
257
|
+
*/
|
|
258
|
+
until(endExclusive: Temporal, unit: TemporalUnit): number;
|
|
259
|
+
};
|