@sitevision/api 2023.2.1 → 2023.2.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +903 -0
- package/types/java/io/File/index.js +50 -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 +85 -0
- package/types/java/lang/Boolean/index.js +14 -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 +1229 -0
- package/types/java/lang/Class/index.js +71 -0
- package/types/java/lang/ClassLoader/index.d.ts +619 -0
- package/types/java/lang/ClassLoader/index.js +31 -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 +273 -0
- package/types/java/lang/Double/index.js +21 -0
- package/types/java/lang/Enum/index.d.ts +118 -0
- package/types/java/lang/Enum/index.js +18 -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 +258 -0
- package/types/java/lang/Float/index.js +21 -0
- package/types/java/lang/Integer/index.d.ts +142 -0
- package/types/java/lang/Integer/index.js +19 -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 +148 -0
- package/types/java/lang/Long/index.js +19 -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 +188 -0
- package/types/java/lang/Package/index.js +27 -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 +1234 -0
- package/types/java/lang/String/index.js +44 -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 +81 -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 +1278 -0
- package/types/java/math/BigDecimal/index.js +49 -0
- package/types/java/math/BigInteger/index.d.ts +567 -0
- package/types/java/math/BigInteger/index.js +54 -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/InetAddress/index.d.ts +356 -0
- package/types/java/net/InetAddress/index.js +27 -0
- package/types/java/net/NetworkInterface/index.d.ts +172 -0
- package/types/java/net/NetworkInterface/index.js +26 -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 +934 -0
- package/types/java/net/URI/index.js +36 -0
- package/types/java/net/URL/index.d.ts +355 -0
- package/types/java/net/URL/index.js +28 -0
- package/types/java/net/URLConnection/index.d.ts +648 -0
- package/types/java/net/URLConnection/index.js +49 -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 +410 -0
- package/types/java/nio/channels/AsynchronousFileChannel/index.js +16 -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 +628 -0
- package/types/java/nio/channels/FileChannel/index.js +20 -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 +415 -0
- package/types/java/nio/charset/Charset/index.js +23 -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 +571 -0
- package/types/java/nio/file/spi/FileSystemProvider/index.js +34 -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 +470 -0
- package/types/java/text/DateFormat/index.js +23 -0
- package/types/java/text/DateFormatSymbols/index.d.ts +245 -0
- package/types/java/text/DateFormatSymbols/index.js +28 -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 +463 -0
- package/types/java/text/NumberFormat/index.js +31 -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 +111 -0
- package/types/java/time/Clock/index.js +15 -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 +539 -0
- package/types/java/time/Duration/index.js +46 -0
- package/types/java/time/Instant/index.d.ts +776 -0
- package/types/java/time/Instant/index.js +37 -0
- package/types/java/time/LocalDate/index.d.ts +1176 -0
- package/types/java/time/LocalDate/index.js +53 -0
- package/types/java/time/LocalDateTime/index.d.ts +1116 -0
- package/types/java/time/LocalDateTime/index.js +66 -0
- package/types/java/time/LocalTime/index.d.ts +822 -0
- package/types/java/time/LocalTime/index.js +47 -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 +1214 -0
- package/types/java/time/OffsetDateTime/index.js +74 -0
- package/types/java/time/OffsetTime/index.d.ts +822 -0
- package/types/java/time/OffsetTime/index.js +49 -0
- package/types/java/time/Period/index.d.ts +468 -0
- package/types/java/time/Period/index.js +37 -0
- package/types/java/time/ZoneId/index.d.ts +223 -0
- package/types/java/time/ZoneId/index.js +16 -0
- package/types/java/time/ZoneOffset/index.d.ts +281 -0
- package/types/java/time/ZoneOffset/index.js +22 -0
- package/types/java/time/ZonedDateTime/index.d.ts +1302 -0
- package/types/java/time/ZonedDateTime/index.js +68 -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 +1265 -0
- package/types/java/time/format/DateTimeFormatter/index.js +28 -0
- package/types/java/time/format/DecimalStyle/index.d.ts +116 -0
- package/types/java/time/format/DecimalStyle/index.js +20 -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 +155 -0
- package/types/java/time/temporal/ValueRange/index.js +22 -0
- package/types/java/time/zone/ZoneOffsetTransition/index.d.ts +161 -0
- package/types/java/time/zone/ZoneOffsetTransition/index.js +23 -0
- package/types/java/time/zone/ZoneRules/index.d.ts +295 -0
- package/types/java/time/zone/ZoneRules/index.js +24 -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 +1430 -0
- package/types/java/util/Calendar/index.js +52 -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 +135 -0
- package/types/java/util/Currency/index.js +15 -0
- package/types/java/util/Date/index.d.ts +449 -0
- package/types/java/util/Date/index.js +35 -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 +1016 -0
- package/types/java/util/Locale/index.js +32 -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 +143 -0
- package/types/java/util/Optional/index.js +21 -0
- package/types/java/util/OptionalDouble/index.d.ts +108 -0
- package/types/java/util/OptionalDouble/index.js +18 -0
- package/types/java/util/OptionalInt/index.d.ts +107 -0
- package/types/java/util/OptionalInt/index.js +18 -0
- package/types/java/util/OptionalLong/index.d.ts +108 -0
- package/types/java/util/OptionalLong/index.js +18 -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 +370 -0
- package/types/java/util/TimeZone/index.js +22 -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 +195 -0
- package/types/javax/jcr/PropertyType/index.js +8 -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 +54 -0
- package/types/javax/jcr/version/OnParentVersionAction/index.js +8 -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,1430 @@
|
|
|
1
|
+
import type { Date } from "../Date";
|
|
2
|
+
|
|
3
|
+
import type { Locale } from "../Locale";
|
|
4
|
+
import type { String } from "../../lang/String";
|
|
5
|
+
import type { Map } from "../Map";
|
|
6
|
+
import type { Object } from "../../lang/Object";
|
|
7
|
+
import type { TimeZone } from "../TimeZone";
|
|
8
|
+
import type { Instant } from "../../time/Instant";
|
|
9
|
+
import type { Serializable } from "../../io/Serializable";
|
|
10
|
+
import type { Cloneable } from "../../lang/Cloneable";
|
|
11
|
+
import type { Comparable } from "../../lang/Comparable";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The <code>Calendar</code> class is an abstract class that provides methods
|
|
15
|
+
* for converting between a specific instant in time and a set of {@link
|
|
16
|
+
* #fields calendar fields} such as <code>YEAR</code>, <code>MONTH</code>,
|
|
17
|
+
* <code>DAY_OF_MONTH</code>, <code>HOUR</code>, and so on, and for
|
|
18
|
+
* manipulating the calendar fields, such as getting the date of the next
|
|
19
|
+
* week. An instant in time can be represented by a millisecond value that is
|
|
20
|
+
* an offset from the <a name="Epoch"><em>Epoch</em></a>, January 1, 1970
|
|
21
|
+
* 00:00:00.000 GMT (Gregorian).
|
|
22
|
+
*
|
|
23
|
+
* <p>The class also provides additional fields and methods for
|
|
24
|
+
* implementing a concrete calendar system outside the package. Those
|
|
25
|
+
* fields and methods are defined as <code>protected</code>.
|
|
26
|
+
*
|
|
27
|
+
* <p>
|
|
28
|
+
* Like other locale-sensitive classes, <code>Calendar</code> provides a
|
|
29
|
+
* class method, <code>getInstance</code>, for getting a generally useful
|
|
30
|
+
* object of this type. <code>Calendar</code>'s <code>getInstance</code> method
|
|
31
|
+
* returns a <code>Calendar</code> object whose
|
|
32
|
+
* calendar fields have been initialized with the current date and time:
|
|
33
|
+
* <blockquote>
|
|
34
|
+
* <pre>
|
|
35
|
+
* Calendar rightNow = Calendar.getInstance();
|
|
36
|
+
* </pre>
|
|
37
|
+
* </blockquote>
|
|
38
|
+
*
|
|
39
|
+
* <p>A <code>Calendar</code> object can produce all the calendar field values
|
|
40
|
+
* needed to implement the date-time formatting for a particular language and
|
|
41
|
+
* calendar style (for example, Japanese-Gregorian, Japanese-Traditional).
|
|
42
|
+
* <code>Calendar</code> defines the range of values returned by
|
|
43
|
+
* certain calendar fields, as well as their meaning. For example,
|
|
44
|
+
* the first month of the calendar system has value <code>MONTH ==
|
|
45
|
+
* JANUARY</code> for all calendars. Other values are defined by the
|
|
46
|
+
* concrete subclass, such as <code>ERA</code>. See individual field
|
|
47
|
+
* documentation and subclass documentation for details.
|
|
48
|
+
*
|
|
49
|
+
* <h3>Getting and Setting Calendar Field Values</h3>
|
|
50
|
+
*
|
|
51
|
+
* <p>The calendar field values can be set by calling the <code>set</code>
|
|
52
|
+
* methods. Any field values set in a <code>Calendar</code> will not be
|
|
53
|
+
* interpreted until it needs to calculate its time value (milliseconds from
|
|
54
|
+
* the Epoch) or values of the calendar fields. Calling the
|
|
55
|
+
* <code>get</code>, <code>getTimeInMillis</code>, <code>getTime</code>,
|
|
56
|
+
* <code>add</code> and <code>roll</code> involves such calculation.
|
|
57
|
+
*
|
|
58
|
+
* <h4>Leniency</h4>
|
|
59
|
+
*
|
|
60
|
+
* <p><code>Calendar</code> has two modes for interpreting the calendar
|
|
61
|
+
* fields, <em>lenient</em> and <em>non-lenient</em>. When a
|
|
62
|
+
* <code>Calendar</code> is in lenient mode, it accepts a wider range of
|
|
63
|
+
* calendar field values than it produces. When a <code>Calendar</code>
|
|
64
|
+
* recomputes calendar field values for return by <code>get()</code>, all of
|
|
65
|
+
* the calendar fields are normalized. For example, a lenient
|
|
66
|
+
* <code>GregorianCalendar</code> interprets <code>MONTH == JANUARY</code>,
|
|
67
|
+
* <code>DAY_OF_MONTH == 32</code> as February 1.
|
|
68
|
+
*
|
|
69
|
+
* <p>When a <code>Calendar</code> is in non-lenient mode, it throws an
|
|
70
|
+
* exception if there is any inconsistency in its calendar fields. For
|
|
71
|
+
* example, a <code>GregorianCalendar</code> always produces
|
|
72
|
+
* <code>DAY_OF_MONTH</code> values between 1 and the length of the month. A
|
|
73
|
+
* non-lenient <code>GregorianCalendar</code> throws an exception upon
|
|
74
|
+
* calculating its time or calendar field values if any out-of-range field
|
|
75
|
+
* value has been set.
|
|
76
|
+
*
|
|
77
|
+
* <h4><a name="first_week">First Week</a></h4>
|
|
78
|
+
*
|
|
79
|
+
* <code>Calendar</code> defines a locale-specific seven day week using two
|
|
80
|
+
* parameters: the first day of the week and the minimal days in first week
|
|
81
|
+
* (from 1 to 7). These numbers are taken from the locale resource data when a
|
|
82
|
+
* <code>Calendar</code> is constructed. They may also be specified explicitly
|
|
83
|
+
* through the methods for setting their values.
|
|
84
|
+
*
|
|
85
|
+
* <p>When setting or getting the <code>WEEK_OF_MONTH</code> or
|
|
86
|
+
* <code>WEEK_OF_YEAR</code> fields, <code>Calendar</code> must determine the
|
|
87
|
+
* first week of the month or year as a reference point. The first week of a
|
|
88
|
+
* month or year is defined as the earliest seven day period beginning on
|
|
89
|
+
* <code>getFirstDayOfWeek()</code> and containing at least
|
|
90
|
+
* <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks
|
|
91
|
+
* numbered ..., -1, 0 precede the first week; weeks numbered 2, 3,... follow
|
|
92
|
+
* it. Note that the normalized numbering returned by <code>get()</code> may be
|
|
93
|
+
* different. For example, a specific <code>Calendar</code> subclass may
|
|
94
|
+
* designate the week before week 1 of a year as week <code><i>n</i></code> of
|
|
95
|
+
* the previous year.
|
|
96
|
+
*
|
|
97
|
+
* <h4>Calendar Fields Resolution</h4>
|
|
98
|
+
*
|
|
99
|
+
* When computing a date and time from the calendar fields, there
|
|
100
|
+
* may be insufficient information for the computation (such as only
|
|
101
|
+
* year and month with no day of month), or there may be inconsistent
|
|
102
|
+
* information (such as Tuesday, July 15, 1996 (Gregorian) -- July 15,
|
|
103
|
+
* 1996 is actually a Monday). <code>Calendar</code> will resolve
|
|
104
|
+
* calendar field values to determine the date and time in the
|
|
105
|
+
* following way.
|
|
106
|
+
*
|
|
107
|
+
* <p><a name="resolution">If there is any conflict in calendar field values,
|
|
108
|
+
* <code>Calendar</code> gives priorities to calendar fields that have been set
|
|
109
|
+
* more recently.</a> The following are the default combinations of the
|
|
110
|
+
* calendar fields. The most recent combination, as determined by the
|
|
111
|
+
* most recently set single field, will be used.
|
|
112
|
+
*
|
|
113
|
+
* <p><a name="date_resolution">For the date fields</a>:
|
|
114
|
+
* <blockquote>
|
|
115
|
+
* <pre>
|
|
116
|
+
* YEAR + MONTH + DAY_OF_MONTH
|
|
117
|
+
* YEAR + MONTH + WEEK_OF_MONTH + DAY_OF_WEEK
|
|
118
|
+
* YEAR + MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK
|
|
119
|
+
* YEAR + DAY_OF_YEAR
|
|
120
|
+
* YEAR + DAY_OF_WEEK + WEEK_OF_YEAR
|
|
121
|
+
* </pre></blockquote>
|
|
122
|
+
*
|
|
123
|
+
* <a name="time_resolution">For the time of day fields</a>:
|
|
124
|
+
* <blockquote>
|
|
125
|
+
* <pre>
|
|
126
|
+
* HOUR_OF_DAY
|
|
127
|
+
* AM_PM + HOUR
|
|
128
|
+
* </pre></blockquote>
|
|
129
|
+
*
|
|
130
|
+
* <p>If there are any calendar fields whose values haven't been set in the selected
|
|
131
|
+
* field combination, <code>Calendar</code> uses their default values. The default
|
|
132
|
+
* value of each field may vary by concrete calendar systems. For example, in
|
|
133
|
+
* <code>GregorianCalendar</code>, the default of a field is the same as that
|
|
134
|
+
* of the start of the Epoch: i.e., <code>YEAR = 1970</code>, <code>MONTH =
|
|
135
|
+
* JANUARY</code>, <code>DAY_OF_MONTH = 1</code>, etc.
|
|
136
|
+
*
|
|
137
|
+
* <p>
|
|
138
|
+
* <strong>Note:</strong> There are certain possible ambiguities in
|
|
139
|
+
* interpretation of certain singular times, which are resolved in the
|
|
140
|
+
* following ways:
|
|
141
|
+
* <ol>
|
|
142
|
+
* <li> 23:59 is the last minute of the day and 00:00 is the first
|
|
143
|
+
* minute of the next day. Thus, 23:59 on Dec 31, 1999 < 00:00 on
|
|
144
|
+
* Jan 1, 2000 < 00:01 on Jan 1, 2000.
|
|
145
|
+
*
|
|
146
|
+
* <li> Although historically not precise, midnight also belongs to "am",
|
|
147
|
+
* and noon belongs to "pm", so on the same day,
|
|
148
|
+
* 12:00 am (midnight) < 12:01 am, and 12:00 pm (noon) < 12:01 pm
|
|
149
|
+
* </ol>
|
|
150
|
+
*
|
|
151
|
+
* <p>
|
|
152
|
+
* The date or time format strings are not part of the definition of a
|
|
153
|
+
* calendar, as those must be modifiable or overridable by the user at
|
|
154
|
+
* runtime. Use {@link DateFormat}
|
|
155
|
+
* to format dates.
|
|
156
|
+
*
|
|
157
|
+
* <h4>Field Manipulation</h4>
|
|
158
|
+
*
|
|
159
|
+
* The calendar fields can be changed using three methods:
|
|
160
|
+
* <code>set()</code>, <code>add()</code>, and <code>roll()</code>.
|
|
161
|
+
*
|
|
162
|
+
* <p><strong><code>set(f, value)</code></strong> changes calendar field
|
|
163
|
+
* <code>f</code> to <code>value</code>. In addition, it sets an
|
|
164
|
+
* internal member variable to indicate that calendar field <code>f</code> has
|
|
165
|
+
* been changed. Although calendar field <code>f</code> is changed immediately,
|
|
166
|
+
* the calendar's time value in milliseconds is not recomputed until the next call to
|
|
167
|
+
* <code>get()</code>, <code>getTime()</code>, <code>getTimeInMillis()</code>,
|
|
168
|
+
* <code>add()</code>, or <code>roll()</code> is made. Thus, multiple calls to
|
|
169
|
+
* <code>set()</code> do not trigger multiple, unnecessary
|
|
170
|
+
* computations. As a result of changing a calendar field using
|
|
171
|
+
* <code>set()</code>, other calendar fields may also change, depending on the
|
|
172
|
+
* calendar field, the calendar field value, and the calendar system. In addition,
|
|
173
|
+
* <code>get(f)</code> will not necessarily return <code>value</code> set by
|
|
174
|
+
* the call to the <code>set</code> method
|
|
175
|
+
* after the calendar fields have been recomputed. The specifics are determined by
|
|
176
|
+
* the concrete calendar class.</p>
|
|
177
|
+
*
|
|
178
|
+
* <p><em>Example</em>: Consider a <code>GregorianCalendar</code>
|
|
179
|
+
* originally set to August 31, 1999. Calling <code>set(Calendar.MONTH,
|
|
180
|
+
* Calendar.SEPTEMBER)</code> sets the date to September 31,
|
|
181
|
+
* 1999. This is a temporary internal representation that resolves to
|
|
182
|
+
* October 1, 1999 if <code>getTime()</code>is then called. However, a
|
|
183
|
+
* call to <code>set(Calendar.DAY_OF_MONTH, 30)</code> before the call to
|
|
184
|
+
* <code>getTime()</code> sets the date to September 30, 1999, since
|
|
185
|
+
* no recomputation occurs after <code>set()</code> itself.</p>
|
|
186
|
+
*
|
|
187
|
+
* <p><strong><code>add(f, delta)</code></strong> adds <code>delta</code>
|
|
188
|
+
* to field <code>f</code>. This is equivalent to calling <code>set(f,
|
|
189
|
+
* get(f) + delta)</code> with two adjustments:</p>
|
|
190
|
+
*
|
|
191
|
+
* <blockquote>
|
|
192
|
+
* <p><strong>Add rule 1</strong>. The value of field <code>f</code>
|
|
193
|
+
* after the call minus the value of field <code>f</code> before the
|
|
194
|
+
* call is <code>delta</code>, modulo any overflow that has occurred in
|
|
195
|
+
* field <code>f</code>. Overflow occurs when a field value exceeds its
|
|
196
|
+
* range and, as a result, the next larger field is incremented or
|
|
197
|
+
* decremented and the field value is adjusted back into its range.</p>
|
|
198
|
+
*
|
|
199
|
+
* <p><strong>Add rule 2</strong>. If a smaller field is expected to be
|
|
200
|
+
* invariant, but it is impossible for it to be equal to its
|
|
201
|
+
* prior value because of changes in its minimum or maximum after field
|
|
202
|
+
* <code>f</code> is changed or other constraints, such as time zone
|
|
203
|
+
* offset changes, then its value is adjusted to be as close
|
|
204
|
+
* as possible to its expected value. A smaller field represents a
|
|
205
|
+
* smaller unit of time. <code>HOUR</code> is a smaller field than
|
|
206
|
+
* <code>DAY_OF_MONTH</code>. No adjustment is made to smaller fields
|
|
207
|
+
* that are not expected to be invariant. The calendar system
|
|
208
|
+
* determines what fields are expected to be invariant.</p>
|
|
209
|
+
* </blockquote>
|
|
210
|
+
*
|
|
211
|
+
* <p>In addition, unlike <code>set()</code>, <code>add()</code> forces
|
|
212
|
+
* an immediate recomputation of the calendar's milliseconds and all
|
|
213
|
+
* fields.</p>
|
|
214
|
+
*
|
|
215
|
+
* <p><em>Example</em>: Consider a <code>GregorianCalendar</code>
|
|
216
|
+
* originally set to August 31, 1999. Calling <code>add(Calendar.MONTH,
|
|
217
|
+
* 13)</code> sets the calendar to September 30, 2000. <strong>Add rule
|
|
218
|
+
* 1</strong> sets the <code>MONTH</code> field to September, since
|
|
219
|
+
* adding 13 months to August gives September of the next year. Since
|
|
220
|
+
* <code>DAY_OF_MONTH</code> cannot be 31 in September in a
|
|
221
|
+
* <code>GregorianCalendar</code>, <strong>add rule 2</strong> sets the
|
|
222
|
+
* <code>DAY_OF_MONTH</code> to 30, the closest possible value. Although
|
|
223
|
+
* it is a smaller field, <code>DAY_OF_WEEK</code> is not adjusted by
|
|
224
|
+
* rule 2, since it is expected to change when the month changes in a
|
|
225
|
+
* <code>GregorianCalendar</code>.</p>
|
|
226
|
+
*
|
|
227
|
+
* <p><strong><code>roll(f, delta)</code></strong> adds
|
|
228
|
+
* <code>delta</code> to field <code>f</code> without changing larger
|
|
229
|
+
* fields. This is equivalent to calling <code>add(f, delta)</code> with
|
|
230
|
+
* the following adjustment:</p>
|
|
231
|
+
*
|
|
232
|
+
* <blockquote>
|
|
233
|
+
* <p><strong>Roll rule</strong>. Larger fields are unchanged after the
|
|
234
|
+
* call. A larger field represents a larger unit of
|
|
235
|
+
* time. <code>DAY_OF_MONTH</code> is a larger field than
|
|
236
|
+
* <code>HOUR</code>.</p>
|
|
237
|
+
* </blockquote>
|
|
238
|
+
*
|
|
239
|
+
* <p><em>Example</em>: See {@link java.util.GregorianCalendar#roll(int, int)}.
|
|
240
|
+
*
|
|
241
|
+
* <p><strong>Usage model</strong>. To motivate the behavior of
|
|
242
|
+
* <code>add()</code> and <code>roll()</code>, consider a user interface
|
|
243
|
+
* component with increment and decrement buttons for the month, day, and
|
|
244
|
+
* year, and an underlying <code>GregorianCalendar</code>. If the
|
|
245
|
+
* interface reads January 31, 1999 and the user presses the month
|
|
246
|
+
* increment button, what should it read? If the underlying
|
|
247
|
+
* implementation uses <code>set()</code>, it might read March 3, 1999. A
|
|
248
|
+
* better result would be February 28, 1999. Furthermore, if the user
|
|
249
|
+
* presses the month increment button again, it should read March 31,
|
|
250
|
+
* 1999, not March 28, 1999. By saving the original date and using either
|
|
251
|
+
* <code>add()</code> or <code>roll()</code>, depending on whether larger
|
|
252
|
+
* fields should be affected, the user interface can behave as most users
|
|
253
|
+
* will intuitively expect.</p>
|
|
254
|
+
* @see java.lang.System#currentTimeMillis()
|
|
255
|
+
* @see Date
|
|
256
|
+
* @see GregorianCalendar
|
|
257
|
+
* @see TimeZone
|
|
258
|
+
* @see java.text.DateFormat
|
|
259
|
+
* @author Mark Davis, David Goldsmith, Chen-Lieh Huang, Alan Liu
|
|
260
|
+
* @since JDK1.1
|
|
261
|
+
*/
|
|
262
|
+
export type Calendar = Object &
|
|
263
|
+
Serializable &
|
|
264
|
+
Cloneable &
|
|
265
|
+
Comparable & {
|
|
266
|
+
/**
|
|
267
|
+
* Converts the current calendar field values in {@link #fields fields[]}
|
|
268
|
+
* to the millisecond time value
|
|
269
|
+
* {@link #time}.
|
|
270
|
+
* @see #complete()
|
|
271
|
+
* @see #computeFields()
|
|
272
|
+
*/
|
|
273
|
+
computeTime(): void;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Converts the current millisecond time value {@link #time}
|
|
277
|
+
* to calendar field values in {@link #fields fields[]}.
|
|
278
|
+
* This allows you to sync up the calendar field values with
|
|
279
|
+
* a new time that is set for the calendar. The time is <em>not</em>
|
|
280
|
+
* recomputed first; to recompute the time, then the fields, call the
|
|
281
|
+
* {@link #complete()} method.
|
|
282
|
+
* @see #computeTime()
|
|
283
|
+
*/
|
|
284
|
+
computeFields(): void;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Returns a <code>Date</code> object representing this
|
|
288
|
+
* <code>Calendar</code>'s time value (millisecond offset from the <a
|
|
289
|
+
* href="#Epoch">Epoch</a>").
|
|
290
|
+
* @return a <code>Date</code> representing the time value.
|
|
291
|
+
* @see #setTime(Date)
|
|
292
|
+
* @see #getTimeInMillis()
|
|
293
|
+
*/
|
|
294
|
+
getTime(): Date;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Sets this Calendar's time with the given <code>Date</code>.
|
|
298
|
+
* <p>
|
|
299
|
+
* Note: Calling <code>setTime()</code> with
|
|
300
|
+
* <code>Date(Long.MAX_VALUE)</code> or <code>Date(Long.MIN_VALUE)</code>
|
|
301
|
+
* may yield incorrect field values from <code>get()</code>.
|
|
302
|
+
* @param date the given Date.
|
|
303
|
+
* @see #getTime()
|
|
304
|
+
* @see #setTimeInMillis(long)
|
|
305
|
+
*/
|
|
306
|
+
setTime(date: Date): void;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Returns this Calendar's time value in milliseconds.
|
|
310
|
+
* @return the current time as UTC milliseconds from the epoch.
|
|
311
|
+
* @see #getTime()
|
|
312
|
+
* @see #setTimeInMillis(long)
|
|
313
|
+
*/
|
|
314
|
+
getTimeInMillis(): number;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Sets this Calendar's current time from the given long value.
|
|
318
|
+
* @param millis the new time in UTC milliseconds from the epoch.
|
|
319
|
+
* @see #setTime(Date)
|
|
320
|
+
* @see #getTimeInMillis()
|
|
321
|
+
*/
|
|
322
|
+
setTimeInMillis(millis: number): void;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Returns the value of the given calendar field. In lenient mode,
|
|
326
|
+
* all calendar fields are normalized. In non-lenient mode, all
|
|
327
|
+
* calendar fields are validated and this method throws an
|
|
328
|
+
* exception if any calendar fields have out-of-range values. The
|
|
329
|
+
* normalization and validation are handled by the
|
|
330
|
+
* {@link #complete()} method, which process is calendar
|
|
331
|
+
* system dependent.
|
|
332
|
+
* @param field the given calendar field.
|
|
333
|
+
* @return the value for the given calendar field.
|
|
334
|
+
* @throws ArrayIndexOutOfBoundsException if the specified field is out of range
 (<code>field < 0 || field >= FIELD_COUNT</code>).
|
|
335
|
+
* @see #set(int,int)
|
|
336
|
+
* @see #complete()
|
|
337
|
+
*/
|
|
338
|
+
get(field: number): number;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Returns the value of the given calendar field. This method does
|
|
342
|
+
* not involve normalization or validation of the field value.
|
|
343
|
+
* @param field the given calendar field.
|
|
344
|
+
* @return the value for the given calendar field.
|
|
345
|
+
* @see #get(int)
|
|
346
|
+
*/
|
|
347
|
+
internalGet(field: number): number;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Sets the given calendar field to the given value. The value is not
|
|
351
|
+
* interpreted by this method regardless of the leniency mode.
|
|
352
|
+
* @param field the given calendar field.
|
|
353
|
+
* @param value the value to be set for the given calendar field.
|
|
354
|
+
* @throws ArrayIndexOutOfBoundsException if the specified field is out of range
 (<code>field < 0 || field >= FIELD_COUNT</code>).
 in non-lenient mode.
|
|
355
|
+
* @see #set(int,int,int)
|
|
356
|
+
* @see #set(int,int,int,int,int)
|
|
357
|
+
* @see #set(int,int,int,int,int,int)
|
|
358
|
+
* @see #get(int)
|
|
359
|
+
*/
|
|
360
|
+
set(field: number, value: number): void;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Sets the values for the calendar fields <code>YEAR</code>,
|
|
364
|
+
* <code>MONTH</code>, and <code>DAY_OF_MONTH</code>.
|
|
365
|
+
* Previous values of other calendar fields are retained. If this is not desired,
|
|
366
|
+
* call {@link #clear()} first.
|
|
367
|
+
* @param year the value used to set the <code>YEAR</code> calendar field.
|
|
368
|
+
* @param month the value used to set the <code>MONTH</code> calendar field.
 Month value is 0-based. e.g., 0 for January.
|
|
369
|
+
* @param date the value used to set the <code>DAY_OF_MONTH</code> calendar field.
|
|
370
|
+
* @see #set(int,int)
|
|
371
|
+
* @see #set(int,int,int,int,int)
|
|
372
|
+
* @see #set(int,int,int,int,int,int)
|
|
373
|
+
*/
|
|
374
|
+
set(year: number, month: number, date: number): void;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Sets the values for the calendar fields <code>YEAR</code>,
|
|
378
|
+
* <code>MONTH</code>, <code>DAY_OF_MONTH</code>,
|
|
379
|
+
* <code>HOUR_OF_DAY</code>, and <code>MINUTE</code>.
|
|
380
|
+
* Previous values of other fields are retained. If this is not desired,
|
|
381
|
+
* call {@link #clear()} first.
|
|
382
|
+
* @param year the value used to set the <code>YEAR</code> calendar field.
|
|
383
|
+
* @param month the value used to set the <code>MONTH</code> calendar field.
 Month value is 0-based. e.g., 0 for January.
|
|
384
|
+
* @param date the value used to set the <code>DAY_OF_MONTH</code> calendar field.
|
|
385
|
+
* @param hourOfDay the value used to set the <code>HOUR_OF_DAY</code> calendar field.
|
|
386
|
+
* @param minute the value used to set the <code>MINUTE</code> calendar field.
|
|
387
|
+
* @see #set(int,int)
|
|
388
|
+
* @see #set(int,int,int)
|
|
389
|
+
* @see #set(int,int,int,int,int,int)
|
|
390
|
+
*/
|
|
391
|
+
set(
|
|
392
|
+
year: number,
|
|
393
|
+
month: number,
|
|
394
|
+
date: number,
|
|
395
|
+
hourOfDay: number,
|
|
396
|
+
minute: number
|
|
397
|
+
): void;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Sets the values for the fields <code>YEAR</code>, <code>MONTH</code>,
|
|
401
|
+
* <code>DAY_OF_MONTH</code>, <code>HOUR_OF_DAY</code>, <code>MINUTE</code>, and
|
|
402
|
+
* <code>SECOND</code>.
|
|
403
|
+
* Previous values of other fields are retained. If this is not desired,
|
|
404
|
+
* call {@link #clear()} first.
|
|
405
|
+
* @param year the value used to set the <code>YEAR</code> calendar field.
|
|
406
|
+
* @param month the value used to set the <code>MONTH</code> calendar field.
 Month value is 0-based. e.g., 0 for January.
|
|
407
|
+
* @param date the value used to set the <code>DAY_OF_MONTH</code> calendar field.
|
|
408
|
+
* @param hourOfDay the value used to set the <code>HOUR_OF_DAY</code> calendar field.
|
|
409
|
+
* @param minute the value used to set the <code>MINUTE</code> calendar field.
|
|
410
|
+
* @param second the value used to set the <code>SECOND</code> calendar field.
|
|
411
|
+
* @see #set(int,int)
|
|
412
|
+
* @see #set(int,int,int)
|
|
413
|
+
* @see #set(int,int,int,int,int)
|
|
414
|
+
*/
|
|
415
|
+
set(
|
|
416
|
+
year: number,
|
|
417
|
+
month: number,
|
|
418
|
+
date: number,
|
|
419
|
+
hourOfDay: number,
|
|
420
|
+
minute: number,
|
|
421
|
+
second: number
|
|
422
|
+
): void;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Sets all the calendar field values and the time value
|
|
426
|
+
* (millisecond offset from the <a href="#Epoch">Epoch</a>) of
|
|
427
|
+
* this <code>Calendar</code> undefined. This means that {@link
|
|
428
|
+
* #isSet(int) isSet()} will return <code>false</code> for all the
|
|
429
|
+
* calendar fields, and the date and time calculations will treat
|
|
430
|
+
* the fields as if they had never been set. A
|
|
431
|
+
* <code>Calendar</code> implementation class may use its specific
|
|
432
|
+
* default field values for date/time calculations. For example,
|
|
433
|
+
* <code>GregorianCalendar</code> uses 1970 if the
|
|
434
|
+
* <code>YEAR</code> field value is undefined.
|
|
435
|
+
* @see #clear(int)
|
|
436
|
+
*/
|
|
437
|
+
clear(): void;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Sets the given calendar field value and the time value
|
|
441
|
+
* (millisecond offset from the <a href="#Epoch">Epoch</a>) of
|
|
442
|
+
* this <code>Calendar</code> undefined. This means that {@link
|
|
443
|
+
* #isSet(int) isSet(field)} will return <code>false</code>, and
|
|
444
|
+
* the date and time calculations will treat the field as if it
|
|
445
|
+
* had never been set. A <code>Calendar</code> implementation
|
|
446
|
+
* class may use the field's specific default value for date and
|
|
447
|
+
* time calculations.
|
|
448
|
+
*
|
|
449
|
+
* <p>The {@link #HOUR_OF_DAY}, {@link #HOUR} and {@link #AM_PM}
|
|
450
|
+
* fields are handled independently and the <a
|
|
451
|
+
* href="#time_resolution">the resolution rule for the time of
|
|
452
|
+
* day</a> is applied. Clearing one of the fields doesn't reset
|
|
453
|
+
* the hour of day value of this <code>Calendar</code>. Use {@link
|
|
454
|
+
* #set(int,int) set(Calendar.HOUR_OF_DAY, 0)} to reset the hour
|
|
455
|
+
* value.
|
|
456
|
+
* @param field the calendar field to be cleared.
|
|
457
|
+
* @see #clear()
|
|
458
|
+
*/
|
|
459
|
+
clear(field: number): void;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Determines if the given calendar field has a value set,
|
|
463
|
+
* including cases that the value has been set by internal fields
|
|
464
|
+
* calculations triggered by a <code>get</code> method call.
|
|
465
|
+
* @param field the calendar field to test
|
|
466
|
+
* @return <code>true</code> if the given calendar field has a value set;
 <code>false</code> otherwise.
|
|
467
|
+
*/
|
|
468
|
+
isSet(field: number): boolean;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Returns the string representation of the calendar
|
|
472
|
+
* <code>field</code> value in the given <code>style</code> and
|
|
473
|
+
* <code>locale</code>. If no string representation is
|
|
474
|
+
* applicable, <code>null</code> is returned. This method calls
|
|
475
|
+
* {@link Calendar#get(int) get(field)} to get the calendar
|
|
476
|
+
* <code>field</code> value if the string representation is
|
|
477
|
+
* applicable to the given calendar <code>field</code>.
|
|
478
|
+
*
|
|
479
|
+
* <p>For example, if this <code>Calendar</code> is a
|
|
480
|
+
* <code>GregorianCalendar</code> and its date is 2005-01-01, then
|
|
481
|
+
* the string representation of the {@link #MONTH} field would be
|
|
482
|
+
* "January" in the long style in an English locale or "Jan" in
|
|
483
|
+
* the short style. However, no string representation would be
|
|
484
|
+
* available for the {@link #DAY_OF_MONTH} field, and this method
|
|
485
|
+
* would return <code>null</code>.
|
|
486
|
+
*
|
|
487
|
+
* <p>The default implementation supports the calendar fields for
|
|
488
|
+
* which a {@link DateFormatSymbols} has names in the given
|
|
489
|
+
* <code>locale</code>.
|
|
490
|
+
* @param field
 the calendar field for which the string representation
 is returned
|
|
491
|
+
* @param style
 the style applied to the string representation; one of {@link
 #SHORT_FORMAT} ({@link #SHORT}), {@link #SHORT_STANDALONE},
 {@link #LONG_FORMAT} ({@link #LONG}), {@link #LONG_STANDALONE},
 {@link #NARROW_FORMAT}, or {@link #NARROW_STANDALONE}.
|
|
492
|
+
* @param locale
 the locale for the string representation
 (any calendar types specified by {@code locale} are ignored)
|
|
493
|
+
* @return the string representation of the given
 {@code field} in the given {@code style}, or
 {@code null} if no string representation is
 applicable.
|
|
494
|
+
* @throws IllegalArgumentException
 if {@code field} or {@code style} is invalid,
 or if this {@code Calendar} is non-lenient and any
 of the calendar fields have invalid values
|
|
495
|
+
* @throws NullPointerException
 if {@code locale} is null
|
|
496
|
+
* @since 1.6
|
|
497
|
+
*/
|
|
498
|
+
getDisplayName(field: number, style: number, locale: Locale): string;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Returns a {@code Map} containing all names of the calendar
|
|
502
|
+
* {@code field} in the given {@code style} and
|
|
503
|
+
* {@code locale} and their corresponding field values. For
|
|
504
|
+
* example, if this {@code Calendar} is a {@link
|
|
505
|
+
* GregorianCalendar}, the returned map would contain "Jan" to
|
|
506
|
+
* {@link #JANUARY}, "Feb" to {@link #FEBRUARY}, and so on, in the
|
|
507
|
+
* {@linkplain #SHORT short} style in an English locale.
|
|
508
|
+
*
|
|
509
|
+
* <p>Narrow names may not be unique due to use of single characters,
|
|
510
|
+
* such as "S" for Sunday and Saturday. In that case narrow names are not
|
|
511
|
+
* included in the returned {@code Map}.
|
|
512
|
+
*
|
|
513
|
+
* <p>The values of other calendar fields may be taken into
|
|
514
|
+
* account to determine a set of display names. For example, if
|
|
515
|
+
* this {@code Calendar} is a lunisolar calendar system and
|
|
516
|
+
* the year value given by the {@link #YEAR} field has a leap
|
|
517
|
+
* month, this method would return month names containing the leap
|
|
518
|
+
* month name, and month names are mapped to their values specific
|
|
519
|
+
* for the year.
|
|
520
|
+
*
|
|
521
|
+
* <p>The default implementation supports display names contained in
|
|
522
|
+
* a {@link DateFormatSymbols}. For example, if {@code field}
|
|
523
|
+
* is {@link #MONTH} and {@code style} is {@link
|
|
524
|
+
* #ALL_STYLES}, this method returns a {@code Map} containing
|
|
525
|
+
* all strings returned by {@link DateFormatSymbols#getShortMonths()}
|
|
526
|
+
* and {@link DateFormatSymbols#getMonths()}.
|
|
527
|
+
* @param field
 the calendar field for which the display names are returned
|
|
528
|
+
* @param style
 the style applied to the string representation; one of {@link
 #SHORT_FORMAT} ({@link #SHORT}), {@link #SHORT_STANDALONE},
 {@link #LONG_FORMAT} ({@link #LONG}), {@link #LONG_STANDALONE},
 {@link #NARROW_FORMAT}, or {@link #NARROW_STANDALONE}
|
|
529
|
+
* @param locale
 the locale for the display names
|
|
530
|
+
* @return a {@code Map} containing all display names in
 {@code style} and {@code locale} and their
 field values, or {@code null} if no display names
 are defined for {@code field}
|
|
531
|
+
* @throws IllegalArgumentException
 if {@code field} or {@code style} is invalid,
 or if this {@code Calendar} is non-lenient and any
 of the calendar fields have invalid values
|
|
532
|
+
* @throws NullPointerException
 if {@code locale} is null
|
|
533
|
+
* @since 1.6
|
|
534
|
+
*/
|
|
535
|
+
getDisplayNames(field: number, style: number, locale: Locale): Map;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Fills in any unset fields in the calendar fields. First, the {@link
|
|
539
|
+
* #computeTime()} method is called if the time value (millisecond offset
|
|
540
|
+
* from the <a href="#Epoch">Epoch</a>) has not been calculated from
|
|
541
|
+
* calendar field values. Then, the {@link #computeFields()} method is
|
|
542
|
+
* called to calculate all calendar field values.
|
|
543
|
+
|
|
544
|
+
*/
|
|
545
|
+
complete(): void;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Returns the calendar type of this {@code Calendar}. Calendar types are
|
|
549
|
+
* defined by the <em>Unicode Locale Data Markup Language (LDML)</em>
|
|
550
|
+
* specification.
|
|
551
|
+
*
|
|
552
|
+
* <p>The default implementation of this method returns the class name of
|
|
553
|
+
* this {@code Calendar} instance. Any subclasses that implement
|
|
554
|
+
* LDML-defined calendar systems should override this method to return
|
|
555
|
+
* appropriate calendar types.
|
|
556
|
+
* @return the LDML-defined calendar type or the class name of this
 {@code Calendar} instance
|
|
557
|
+
* @since 1.8
|
|
558
|
+
* @see <a href="Locale.html#def_extensions">Locale extensions</a>
|
|
559
|
+
* @see Locale.Builder#setLocale(Locale)
|
|
560
|
+
* @see Locale.Builder#setUnicodeLocaleKeyword(String, String)
|
|
561
|
+
*/
|
|
562
|
+
getCalendarType(): string;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Compares this <code>Calendar</code> to the specified
|
|
566
|
+
* <code>Object</code>. The result is <code>true</code> if and only if
|
|
567
|
+
* the argument is a <code>Calendar</code> object of the same calendar
|
|
568
|
+
* system that represents the same time value (millisecond offset from the
|
|
569
|
+
* <a href="#Epoch">Epoch</a>) under the same
|
|
570
|
+
* <code>Calendar</code> parameters as this object.
|
|
571
|
+
*
|
|
572
|
+
* <p>The <code>Calendar</code> parameters are the values represented
|
|
573
|
+
* by the <code>isLenient</code>, <code>getFirstDayOfWeek</code>,
|
|
574
|
+
* <code>getMinimalDaysInFirstWeek</code> and <code>getTimeZone</code>
|
|
575
|
+
* methods. If there is any difference in those parameters
|
|
576
|
+
* between the two <code>Calendar</code>s, this method returns
|
|
577
|
+
* <code>false</code>.
|
|
578
|
+
*
|
|
579
|
+
* <p>Use the {@link #compareTo(Calendar) compareTo} method to
|
|
580
|
+
* compare only the time values.
|
|
581
|
+
* @param obj the object to compare with.
|
|
582
|
+
* @return <code>true</code> if this object is equal to <code>obj</code>;
 <code>false</code> otherwise.
|
|
583
|
+
*/
|
|
584
|
+
equals(obj: unknown): boolean;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Returns a hash code for this calendar.
|
|
588
|
+
* @return a hash code value for this object.
|
|
589
|
+
* @since 1.2
|
|
590
|
+
*/
|
|
591
|
+
hashCode(): number;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Returns whether this <code>Calendar</code> represents a time
|
|
595
|
+
* before the time represented by the specified
|
|
596
|
+
* <code>Object</code>. This method is equivalent to:
|
|
597
|
+
* <pre>{@code
|
|
598
|
+
* compareTo(when) < 0
|
|
599
|
+
* }</pre>
|
|
600
|
+
* if and only if <code>when</code> is a <code>Calendar</code>
|
|
601
|
+
* instance. Otherwise, the method returns <code>false</code>.
|
|
602
|
+
* @param when the <code>Object</code> to be compared
|
|
603
|
+
* @return <code>true</code> if the time of this
 <code>Calendar</code> is before the time represented by
 <code>when</code>; <code>false</code> otherwise.
|
|
604
|
+
* @see #compareTo(Calendar)
|
|
605
|
+
*/
|
|
606
|
+
before(when: unknown): boolean;
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Returns whether this <code>Calendar</code> represents a time
|
|
610
|
+
* after the time represented by the specified
|
|
611
|
+
* <code>Object</code>. This method is equivalent to:
|
|
612
|
+
* <pre>{@code
|
|
613
|
+
* compareTo(when) > 0
|
|
614
|
+
* }</pre>
|
|
615
|
+
* if and only if <code>when</code> is a <code>Calendar</code>
|
|
616
|
+
* instance. Otherwise, the method returns <code>false</code>.
|
|
617
|
+
* @param when the <code>Object</code> to be compared
|
|
618
|
+
* @return <code>true</code> if the time of this <code>Calendar</code> is
 after the time represented by <code>when</code>; <code>false</code>
 otherwise.
|
|
619
|
+
* @see #compareTo(Calendar)
|
|
620
|
+
*/
|
|
621
|
+
after(when: unknown): boolean;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Compares the time values (millisecond offsets from the <a
|
|
625
|
+
* href="#Epoch">Epoch</a>) represented by two
|
|
626
|
+
* <code>Calendar</code> objects.
|
|
627
|
+
* @param anotherCalendar the <code>Calendar</code> to be compared.
|
|
628
|
+
* @return the value <code>0</code> if the time represented by the argument
 is equal to the time represented by this <code>Calendar</code>; a value
 less than <code>0</code> if the time of this <code>Calendar</code> is
 before the time represented by the argument; and a value greater than
 <code>0</code> if the time of this <code>Calendar</code> is after the
 time represented by the argument.
|
|
629
|
+
* @throws NullPointerException if the specified <code>Calendar</code> is
 <code>null</code>.
|
|
630
|
+
* @throws IllegalArgumentException if the time value of the
 specified <code>Calendar</code> object can't be obtained due to
 any invalid calendar values.
|
|
631
|
+
* @since 1.5
|
|
632
|
+
*/
|
|
633
|
+
compareTo(anotherCalendar: Calendar): number;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Adds or subtracts the specified amount of time to the given calendar field,
|
|
637
|
+
* based on the calendar's rules. For example, to subtract 5 days from
|
|
638
|
+
* the current time of the calendar, you can achieve it by calling:
|
|
639
|
+
* <p><code>add(Calendar.DAY_OF_MONTH, -5)</code>.
|
|
640
|
+
* @param field the calendar field.
|
|
641
|
+
* @param amount the amount of date or time to be added to the field.
|
|
642
|
+
* @see #roll(int,int)
|
|
643
|
+
* @see #set(int,int)
|
|
644
|
+
*/
|
|
645
|
+
add(field: number, amount: number): void;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Adds or subtracts (up/down) a single unit of time on the given time
|
|
649
|
+
* field without changing larger fields. For example, to roll the current
|
|
650
|
+
* date up by one day, you can achieve it by calling:
|
|
651
|
+
* <p>roll(Calendar.DATE, true).
|
|
652
|
+
* When rolling on the year or Calendar.YEAR field, it will roll the year
|
|
653
|
+
* value in the range between 1 and the value returned by calling
|
|
654
|
+
* <code>getMaximum(Calendar.YEAR)</code>.
|
|
655
|
+
* When rolling on the month or Calendar.MONTH field, other fields like
|
|
656
|
+
* date might conflict and, need to be changed. For instance,
|
|
657
|
+
* rolling the month on the date 01/31/96 will result in 02/29/96.
|
|
658
|
+
* When rolling on the hour-in-day or Calendar.HOUR_OF_DAY field, it will
|
|
659
|
+
* roll the hour value in the range between 0 and 23, which is zero-based.
|
|
660
|
+
* @param field the time field.
|
|
661
|
+
* @param up indicates if the value of the specified time field is to be
 rolled up or rolled down. Use true if rolling up, false otherwise.
|
|
662
|
+
* @see Calendar#add(int,int)
|
|
663
|
+
* @see Calendar#set(int,int)
|
|
664
|
+
*/
|
|
665
|
+
roll(field: number, up: boolean): void;
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Adds the specified (signed) amount to the specified calendar field
|
|
669
|
+
* without changing larger fields. A negative amount means to roll
|
|
670
|
+
* down.
|
|
671
|
+
*
|
|
672
|
+
* <p>NOTE: This default implementation on <code>Calendar</code> just repeatedly calls the
|
|
673
|
+
* version of {@link #roll(int,boolean) roll()} that rolls by one unit. This may not
|
|
674
|
+
* always do the right thing. For example, if the <code>DAY_OF_MONTH</code> field is 31,
|
|
675
|
+
* rolling through February will leave it set to 28. The <code>GregorianCalendar</code>
|
|
676
|
+
* version of this function takes care of this problem. Other subclasses
|
|
677
|
+
* should also provide overrides of this function that do the right thing.
|
|
678
|
+
* @param field the calendar field.
|
|
679
|
+
* @param amount the signed amount to add to the calendar <code>field</code>.
|
|
680
|
+
* @since 1.2
|
|
681
|
+
* @see #roll(int,boolean)
|
|
682
|
+
* @see #add(int,int)
|
|
683
|
+
* @see #set(int,int)
|
|
684
|
+
*/
|
|
685
|
+
roll(field: number, amount: number): void;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Sets the time zone with the given time zone value.
|
|
689
|
+
* @param value the given time zone.
|
|
690
|
+
*/
|
|
691
|
+
setTimeZone(value: TimeZone): void;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Gets the time zone.
|
|
695
|
+
* @return the time zone object associated with this calendar.
|
|
696
|
+
*/
|
|
697
|
+
getTimeZone(): TimeZone;
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* Specifies whether or not date/time interpretation is to be lenient. With
|
|
701
|
+
* lenient interpretation, a date such as "February 942, 1996" will be
|
|
702
|
+
* treated as being equivalent to the 941st day after February 1, 1996.
|
|
703
|
+
* With strict (non-lenient) interpretation, such dates will cause an exception to be
|
|
704
|
+
* thrown. The default is lenient.
|
|
705
|
+
* @param lenient <code>true</code> if the lenient mode is to be turned
 on; <code>false</code> if it is to be turned off.
|
|
706
|
+
* @see #isLenient()
|
|
707
|
+
* @see java.text.DateFormat#setLenient
|
|
708
|
+
*/
|
|
709
|
+
setLenient(lenient: boolean): void;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Tells whether date/time interpretation is to be lenient.
|
|
713
|
+
* @return <code>true</code> if the interpretation mode of this calendar is lenient;
 <code>false</code> otherwise.
|
|
714
|
+
* @see #setLenient(boolean)
|
|
715
|
+
*/
|
|
716
|
+
isLenient(): boolean;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Sets what the first day of the week is; e.g., <code>SUNDAY</code> in the U.S.,
|
|
720
|
+
* <code>MONDAY</code> in France.
|
|
721
|
+
* @param value the given first day of the week.
|
|
722
|
+
* @see #getFirstDayOfWeek()
|
|
723
|
+
* @see #getMinimalDaysInFirstWeek()
|
|
724
|
+
*/
|
|
725
|
+
setFirstDayOfWeek(value: number): void;
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Gets what the first day of the week is; e.g., <code>SUNDAY</code> in the U.S.,
|
|
729
|
+
* <code>MONDAY</code> in France.
|
|
730
|
+
* @return the first day of the week.
|
|
731
|
+
* @see #setFirstDayOfWeek(int)
|
|
732
|
+
* @see #getMinimalDaysInFirstWeek()
|
|
733
|
+
*/
|
|
734
|
+
getFirstDayOfWeek(): number;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Sets what the minimal days required in the first week of the year are;
|
|
738
|
+
* For example, if the first week is defined as one that contains the first
|
|
739
|
+
* day of the first month of a year, call this method with value 1. If it
|
|
740
|
+
* must be a full week, use value 7.
|
|
741
|
+
* @param value the given minimal days required in the first week
 of the year.
|
|
742
|
+
* @see #getMinimalDaysInFirstWeek()
|
|
743
|
+
*/
|
|
744
|
+
setMinimalDaysInFirstWeek(value: number): void;
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* Gets what the minimal days required in the first week of the year are;
|
|
748
|
+
* e.g., if the first week is defined as one that contains the first day
|
|
749
|
+
* of the first month of a year, this method returns 1. If
|
|
750
|
+
* the minimal days required must be a full week, this method
|
|
751
|
+
* returns 7.
|
|
752
|
+
* @return the minimal days required in the first week of the year.
|
|
753
|
+
* @see #setMinimalDaysInFirstWeek(int)
|
|
754
|
+
*/
|
|
755
|
+
getMinimalDaysInFirstWeek(): number;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Returns whether this {@code Calendar} supports week dates.
|
|
759
|
+
*
|
|
760
|
+
* <p>The default implementation of this method returns {@code false}.
|
|
761
|
+
* @return {@code true} if this {@code Calendar} supports week dates;
 {@code false} otherwise.
|
|
762
|
+
* @see #getWeekYear()
|
|
763
|
+
* @see #setWeekDate(int,int,int)
|
|
764
|
+
* @see #getWeeksInWeekYear()
|
|
765
|
+
* @since 1.7
|
|
766
|
+
*/
|
|
767
|
+
isWeekDateSupported(): boolean;
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Returns the week year represented by this {@code Calendar}. The
|
|
771
|
+
* week year is in sync with the week cycle. The {@linkplain
|
|
772
|
+
* #getFirstDayOfWeek() first day of the first week} is the first
|
|
773
|
+
* day of the week year.
|
|
774
|
+
*
|
|
775
|
+
* <p>The default implementation of this method throws an
|
|
776
|
+
* {@link UnsupportedOperationException}.
|
|
777
|
+
* @return the week year of this {@code Calendar}
|
|
778
|
+
* @throws UnsupportedOperationException
 if any week year numbering isn't supported
 in this {@code Calendar}.
|
|
779
|
+
* @see #isWeekDateSupported()
|
|
780
|
+
* @see #getFirstDayOfWeek()
|
|
781
|
+
* @see #getMinimalDaysInFirstWeek()
|
|
782
|
+
* @since 1.7
|
|
783
|
+
*/
|
|
784
|
+
getWeekYear(): number;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Sets the date of this {@code Calendar} with the the given date
|
|
788
|
+
* specifiers - week year, week of year, and day of week.
|
|
789
|
+
*
|
|
790
|
+
* <p>Unlike the {@code set} method, all of the calendar fields
|
|
791
|
+
* and {@code time} values are calculated upon return.
|
|
792
|
+
*
|
|
793
|
+
* <p>If {@code weekOfYear} is out of the valid week-of-year range
|
|
794
|
+
* in {@code weekYear}, the {@code weekYear} and {@code
|
|
795
|
+
* weekOfYear} values are adjusted in lenient mode, or an {@code
|
|
796
|
+
* IllegalArgumentException} is thrown in non-lenient mode.
|
|
797
|
+
*
|
|
798
|
+
* <p>The default implementation of this method throws an
|
|
799
|
+
* {@code UnsupportedOperationException}.
|
|
800
|
+
* @param weekYear the week year
|
|
801
|
+
* @param weekOfYear the week number based on {@code weekYear}
|
|
802
|
+
* @param dayOfWeek the day of week value: one of the constants
 for the {@link #DAY_OF_WEEK} field: {@link
 #SUNDAY}, ..., {@link #SATURDAY}.
|
|
803
|
+
* @throws IllegalArgumentException
 if any of the given date specifiers is invalid
 or any of the calendar fields are inconsistent
 with the given date specifiers in non-lenient mode
|
|
804
|
+
* @throws UnsupportedOperationException
 if any week year numbering isn't supported in this
 {@code Calendar}.
|
|
805
|
+
* @see #isWeekDateSupported()
|
|
806
|
+
* @see #getFirstDayOfWeek()
|
|
807
|
+
* @see #getMinimalDaysInFirstWeek()
|
|
808
|
+
* @since 1.7
|
|
809
|
+
*/
|
|
810
|
+
setWeekDate(weekYear: number, weekOfYear: number, dayOfWeek: number): void;
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Returns the number of weeks in the week year represented by this
|
|
814
|
+
* {@code Calendar}.
|
|
815
|
+
*
|
|
816
|
+
* <p>The default implementation of this method throws an
|
|
817
|
+
* {@code UnsupportedOperationException}.
|
|
818
|
+
* @return the number of weeks in the week year.
|
|
819
|
+
* @throws UnsupportedOperationException
 if any week year numbering isn't supported in this
 {@code Calendar}.
|
|
820
|
+
* @see #WEEK_OF_YEAR
|
|
821
|
+
* @see #isWeekDateSupported()
|
|
822
|
+
* @see #getWeekYear()
|
|
823
|
+
* @see #getActualMaximum(int)
|
|
824
|
+
* @since 1.7
|
|
825
|
+
*/
|
|
826
|
+
getWeeksInWeekYear(): number;
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Returns the minimum value for the given calendar field of this
|
|
830
|
+
* <code>Calendar</code> instance. The minimum value is defined as
|
|
831
|
+
* the smallest value returned by the {@link #get(int) get} method
|
|
832
|
+
* for any possible time value. The minimum value depends on
|
|
833
|
+
* calendar system specific parameters of the instance.
|
|
834
|
+
* @param field the calendar field.
|
|
835
|
+
* @return the minimum value for the given calendar field.
|
|
836
|
+
* @see #getMaximum(int)
|
|
837
|
+
* @see #getGreatestMinimum(int)
|
|
838
|
+
* @see #getLeastMaximum(int)
|
|
839
|
+
* @see #getActualMinimum(int)
|
|
840
|
+
* @see #getActualMaximum(int)
|
|
841
|
+
*/
|
|
842
|
+
getMinimum(field: number): number;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Returns the maximum value for the given calendar field of this
|
|
846
|
+
* <code>Calendar</code> instance. The maximum value is defined as
|
|
847
|
+
* the largest value returned by the {@link #get(int) get} method
|
|
848
|
+
* for any possible time value. The maximum value depends on
|
|
849
|
+
* calendar system specific parameters of the instance.
|
|
850
|
+
* @param field the calendar field.
|
|
851
|
+
* @return the maximum value for the given calendar field.
|
|
852
|
+
* @see #getMinimum(int)
|
|
853
|
+
* @see #getGreatestMinimum(int)
|
|
854
|
+
* @see #getLeastMaximum(int)
|
|
855
|
+
* @see #getActualMinimum(int)
|
|
856
|
+
* @see #getActualMaximum(int)
|
|
857
|
+
*/
|
|
858
|
+
getMaximum(field: number): number;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Returns the highest minimum value for the given calendar field
|
|
862
|
+
* of this <code>Calendar</code> instance. The highest minimum
|
|
863
|
+
* value is defined as the largest value returned by {@link
|
|
864
|
+
* #getActualMinimum(int)} for any possible time value. The
|
|
865
|
+
* greatest minimum value depends on calendar system specific
|
|
866
|
+
* parameters of the instance.
|
|
867
|
+
* @param field the calendar field.
|
|
868
|
+
* @return the highest minimum value for the given calendar field.
|
|
869
|
+
* @see #getMinimum(int)
|
|
870
|
+
* @see #getMaximum(int)
|
|
871
|
+
* @see #getLeastMaximum(int)
|
|
872
|
+
* @see #getActualMinimum(int)
|
|
873
|
+
* @see #getActualMaximum(int)
|
|
874
|
+
*/
|
|
875
|
+
getGreatestMinimum(field: number): number;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Returns the lowest maximum value for the given calendar field
|
|
879
|
+
* of this <code>Calendar</code> instance. The lowest maximum
|
|
880
|
+
* value is defined as the smallest value returned by {@link
|
|
881
|
+
* #getActualMaximum(int)} for any possible time value. The least
|
|
882
|
+
* maximum value depends on calendar system specific parameters of
|
|
883
|
+
* the instance. For example, a <code>Calendar</code> for the
|
|
884
|
+
* Gregorian calendar system returns 28 for the
|
|
885
|
+
* <code>DAY_OF_MONTH</code> field, because the 28th is the last
|
|
886
|
+
* day of the shortest month of this calendar, February in a
|
|
887
|
+
* common year.
|
|
888
|
+
* @param field the calendar field.
|
|
889
|
+
* @return the lowest maximum value for the given calendar field.
|
|
890
|
+
* @see #getMinimum(int)
|
|
891
|
+
* @see #getMaximum(int)
|
|
892
|
+
* @see #getGreatestMinimum(int)
|
|
893
|
+
* @see #getActualMinimum(int)
|
|
894
|
+
* @see #getActualMaximum(int)
|
|
895
|
+
*/
|
|
896
|
+
getLeastMaximum(field: number): number;
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Returns the minimum value that the specified calendar field
|
|
900
|
+
* could have, given the time value of this <code>Calendar</code>.
|
|
901
|
+
*
|
|
902
|
+
* <p>The default implementation of this method uses an iterative
|
|
903
|
+
* algorithm to determine the actual minimum value for the
|
|
904
|
+
* calendar field. Subclasses should, if possible, override this
|
|
905
|
+
* with a more efficient implementation - in many cases, they can
|
|
906
|
+
* simply return <code>getMinimum()</code>.
|
|
907
|
+
* @param field the calendar field
|
|
908
|
+
* @return the minimum of the given calendar field for the time
 value of this <code>Calendar</code>
|
|
909
|
+
* @see #getMinimum(int)
|
|
910
|
+
* @see #getMaximum(int)
|
|
911
|
+
* @see #getGreatestMinimum(int)
|
|
912
|
+
* @see #getLeastMaximum(int)
|
|
913
|
+
* @see #getActualMaximum(int)
|
|
914
|
+
* @since 1.2
|
|
915
|
+
*/
|
|
916
|
+
getActualMinimum(field: number): number;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Returns the maximum value that the specified calendar field
|
|
920
|
+
* could have, given the time value of this
|
|
921
|
+
* <code>Calendar</code>. For example, the actual maximum value of
|
|
922
|
+
* the <code>MONTH</code> field is 12 in some years, and 13 in
|
|
923
|
+
* other years in the Hebrew calendar system.
|
|
924
|
+
*
|
|
925
|
+
* <p>The default implementation of this method uses an iterative
|
|
926
|
+
* algorithm to determine the actual maximum value for the
|
|
927
|
+
* calendar field. Subclasses should, if possible, override this
|
|
928
|
+
* with a more efficient implementation.
|
|
929
|
+
* @param field the calendar field
|
|
930
|
+
* @return the maximum of the given calendar field for the time
 value of this <code>Calendar</code>
|
|
931
|
+
* @see #getMinimum(int)
|
|
932
|
+
* @see #getMaximum(int)
|
|
933
|
+
* @see #getGreatestMinimum(int)
|
|
934
|
+
* @see #getLeastMaximum(int)
|
|
935
|
+
* @see #getActualMinimum(int)
|
|
936
|
+
* @since 1.2
|
|
937
|
+
*/
|
|
938
|
+
getActualMaximum(field: number): number;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Creates and returns a copy of this object.
|
|
942
|
+
* @return a copy of this object.
|
|
943
|
+
*/
|
|
944
|
+
clone(): unknown;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Return a string representation of this calendar. This method
|
|
948
|
+
* is intended to be used only for debugging purposes, and the
|
|
949
|
+
* format of the returned string may vary between implementations.
|
|
950
|
+
* The returned string may be empty but may not be <code>null</code>.
|
|
951
|
+
* @return a string representation of this calendar.
|
|
952
|
+
*/
|
|
953
|
+
toString(): string;
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Converts this object to an {@link Instant}.
|
|
957
|
+
* <p>
|
|
958
|
+
* The conversion creates an {@code Instant} that represents the
|
|
959
|
+
* same point on the time-line as this {@code Calendar}.
|
|
960
|
+
* @return the instant representing the same point on the time-line
|
|
961
|
+
* @since 1.8
|
|
962
|
+
*/
|
|
963
|
+
toInstant(): Instant;
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
967
|
+
* era, e.g., AD or BC in the Julian calendar. This is a calendar-specific
|
|
968
|
+
* value; see subclass documentation.
|
|
969
|
+
* @see GregorianCalendar#AD
|
|
970
|
+
* @see GregorianCalendar#BC
|
|
971
|
+
*/
|
|
972
|
+
ERA: number;
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
976
|
+
* year. This is a calendar-specific value; see subclass documentation.
|
|
977
|
+
|
|
978
|
+
*/
|
|
979
|
+
YEAR: number;
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
983
|
+
* month. This is a calendar-specific value. The first month of
|
|
984
|
+
* the year in the Gregorian and Julian calendars is
|
|
985
|
+
* <code>JANUARY</code> which is 0; the last depends on the number
|
|
986
|
+
* of months in a year.
|
|
987
|
+
* @see #JANUARY
|
|
988
|
+
* @see #FEBRUARY
|
|
989
|
+
* @see #MARCH
|
|
990
|
+
* @see #APRIL
|
|
991
|
+
* @see #MAY
|
|
992
|
+
* @see #JUNE
|
|
993
|
+
* @see #JULY
|
|
994
|
+
* @see #AUGUST
|
|
995
|
+
* @see #SEPTEMBER
|
|
996
|
+
* @see #OCTOBER
|
|
997
|
+
* @see #NOVEMBER
|
|
998
|
+
* @see #DECEMBER
|
|
999
|
+
* @see #UNDECIMBER
|
|
1000
|
+
*/
|
|
1001
|
+
MONTH: number;
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1005
|
+
* week number within the current year. The first week of the year, as
|
|
1006
|
+
* defined by <code>getFirstDayOfWeek()</code> and
|
|
1007
|
+
* <code>getMinimalDaysInFirstWeek()</code>, has value 1. Subclasses define
|
|
1008
|
+
* the value of <code>WEEK_OF_YEAR</code> for days before the first week of
|
|
1009
|
+
* the year.
|
|
1010
|
+
* @see #getFirstDayOfWeek
|
|
1011
|
+
* @see #getMinimalDaysInFirstWeek
|
|
1012
|
+
*/
|
|
1013
|
+
WEEK_OF_YEAR: number;
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1017
|
+
* week number within the current month. The first week of the month, as
|
|
1018
|
+
* defined by <code>getFirstDayOfWeek()</code> and
|
|
1019
|
+
* <code>getMinimalDaysInFirstWeek()</code>, has value 1. Subclasses define
|
|
1020
|
+
* the value of <code>WEEK_OF_MONTH</code> for days before the first week of
|
|
1021
|
+
* the month.
|
|
1022
|
+
* @see #getFirstDayOfWeek
|
|
1023
|
+
* @see #getMinimalDaysInFirstWeek
|
|
1024
|
+
*/
|
|
1025
|
+
WEEK_OF_MONTH: number;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1029
|
+
* day of the month. This is a synonym for <code>DAY_OF_MONTH</code>.
|
|
1030
|
+
* The first day of the month has value 1.
|
|
1031
|
+
* @see #DAY_OF_MONTH
|
|
1032
|
+
*/
|
|
1033
|
+
DATE: number;
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1037
|
+
* day of the month. This is a synonym for <code>DATE</code>.
|
|
1038
|
+
* The first day of the month has value 1.
|
|
1039
|
+
* @see #DATE
|
|
1040
|
+
*/
|
|
1041
|
+
DAY_OF_MONTH: number;
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* Field number for <code>get</code> and <code>set</code> indicating the day
|
|
1045
|
+
* number within the current year. The first day of the year has value 1.
|
|
1046
|
+
|
|
1047
|
+
*/
|
|
1048
|
+
DAY_OF_YEAR: number;
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* Field number for <code>get</code> and <code>set</code> indicating the day
|
|
1052
|
+
* of the week. This field takes values <code>SUNDAY</code>,
|
|
1053
|
+
* <code>MONDAY</code>, <code>TUESDAY</code>, <code>WEDNESDAY</code>,
|
|
1054
|
+
* <code>THURSDAY</code>, <code>FRIDAY</code>, and <code>SATURDAY</code>.
|
|
1055
|
+
* @see #SUNDAY
|
|
1056
|
+
* @see #MONDAY
|
|
1057
|
+
* @see #TUESDAY
|
|
1058
|
+
* @see #WEDNESDAY
|
|
1059
|
+
* @see #THURSDAY
|
|
1060
|
+
* @see #FRIDAY
|
|
1061
|
+
* @see #SATURDAY
|
|
1062
|
+
*/
|
|
1063
|
+
DAY_OF_WEEK: number;
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1067
|
+
* ordinal number of the day of the week within the current month. Together
|
|
1068
|
+
* with the <code>DAY_OF_WEEK</code> field, this uniquely specifies a day
|
|
1069
|
+
* within a month. Unlike <code>WEEK_OF_MONTH</code> and
|
|
1070
|
+
* <code>WEEK_OF_YEAR</code>, this field's value does <em>not</em> depend on
|
|
1071
|
+
* <code>getFirstDayOfWeek()</code> or
|
|
1072
|
+
* <code>getMinimalDaysInFirstWeek()</code>. <code>DAY_OF_MONTH 1</code>
|
|
1073
|
+
* through <code>7</code> always correspond to <code>DAY_OF_WEEK_IN_MONTH
|
|
1074
|
+
* 1</code>; <code>8</code> through <code>14</code> correspond to
|
|
1075
|
+
* <code>DAY_OF_WEEK_IN_MONTH 2</code>, and so on.
|
|
1076
|
+
* <code>DAY_OF_WEEK_IN_MONTH 0</code> indicates the week before
|
|
1077
|
+
* <code>DAY_OF_WEEK_IN_MONTH 1</code>. Negative values count back from the
|
|
1078
|
+
* end of the month, so the last Sunday of a month is specified as
|
|
1079
|
+
* <code>DAY_OF_WEEK = SUNDAY, DAY_OF_WEEK_IN_MONTH = -1</code>. Because
|
|
1080
|
+
* negative values count backward they will usually be aligned differently
|
|
1081
|
+
* within the month than positive values. For example, if a month has 31
|
|
1082
|
+
* days, <code>DAY_OF_WEEK_IN_MONTH -1</code> will overlap
|
|
1083
|
+
* <code>DAY_OF_WEEK_IN_MONTH 5</code> and the end of <code>4</code>.
|
|
1084
|
+
* @see #DAY_OF_WEEK
|
|
1085
|
+
* @see #WEEK_OF_MONTH
|
|
1086
|
+
*/
|
|
1087
|
+
DAY_OF_WEEK_IN_MONTH: number;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Field number for <code>get</code> and <code>set</code> indicating
|
|
1091
|
+
* whether the <code>HOUR</code> is before or after noon.
|
|
1092
|
+
* E.g., at 10:04:15.250 PM the <code>AM_PM</code> is <code>PM</code>.
|
|
1093
|
+
* @see #AM
|
|
1094
|
+
* @see #PM
|
|
1095
|
+
* @see #HOUR
|
|
1096
|
+
*/
|
|
1097
|
+
AM_PM: number;
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1101
|
+
* hour of the morning or afternoon. <code>HOUR</code> is used for the
|
|
1102
|
+
* 12-hour clock (0 - 11). Noon and midnight are represented by 0, not by 12.
|
|
1103
|
+
* E.g., at 10:04:15.250 PM the <code>HOUR</code> is 10.
|
|
1104
|
+
* @see #AM_PM
|
|
1105
|
+
* @see #HOUR_OF_DAY
|
|
1106
|
+
*/
|
|
1107
|
+
HOUR: number;
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1111
|
+
* hour of the day. <code>HOUR_OF_DAY</code> is used for the 24-hour clock.
|
|
1112
|
+
* E.g., at 10:04:15.250 PM the <code>HOUR_OF_DAY</code> is 22.
|
|
1113
|
+
* @see #HOUR
|
|
1114
|
+
*/
|
|
1115
|
+
HOUR_OF_DAY: number;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1119
|
+
* minute within the hour.
|
|
1120
|
+
* E.g., at 10:04:15.250 PM the <code>MINUTE</code> is 4.
|
|
1121
|
+
|
|
1122
|
+
*/
|
|
1123
|
+
MINUTE: number;
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1127
|
+
* second within the minute.
|
|
1128
|
+
* E.g., at 10:04:15.250 PM the <code>SECOND</code> is 15.
|
|
1129
|
+
|
|
1130
|
+
*/
|
|
1131
|
+
SECOND: number;
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1135
|
+
* millisecond within the second.
|
|
1136
|
+
* E.g., at 10:04:15.250 PM the <code>MILLISECOND</code> is 250.
|
|
1137
|
+
|
|
1138
|
+
*/
|
|
1139
|
+
MILLISECOND: number;
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Field number for <code>get</code> and <code>set</code>
|
|
1143
|
+
* indicating the raw offset from GMT in milliseconds.
|
|
1144
|
+
* <p>
|
|
1145
|
+
* This field reflects the correct GMT offset value of the time
|
|
1146
|
+
* zone of this <code>Calendar</code> if the
|
|
1147
|
+
* <code>TimeZone</code> implementation subclass supports
|
|
1148
|
+
* historical GMT offset changes.
|
|
1149
|
+
|
|
1150
|
+
*/
|
|
1151
|
+
ZONE_OFFSET: number;
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Field number for <code>get</code> and <code>set</code> indicating the
|
|
1155
|
+
* daylight saving offset in milliseconds.
|
|
1156
|
+
* <p>
|
|
1157
|
+
* This field reflects the correct daylight saving offset value of
|
|
1158
|
+
* the time zone of this <code>Calendar</code> if the
|
|
1159
|
+
* <code>TimeZone</code> implementation subclass supports
|
|
1160
|
+
* historical Daylight Saving Time schedule changes.
|
|
1161
|
+
|
|
1162
|
+
*/
|
|
1163
|
+
DST_OFFSET: number;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* The number of distinct fields recognized by <code>get</code> and <code>set</code>.
|
|
1167
|
+
* Field numbers range from <code>0..FIELD_COUNT-1</code>.
|
|
1168
|
+
|
|
1169
|
+
*/
|
|
1170
|
+
FIELD_COUNT: number;
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Value of the {@link #DAY_OF_WEEK} field indicating
|
|
1174
|
+
* Sunday.
|
|
1175
|
+
|
|
1176
|
+
*/
|
|
1177
|
+
SUNDAY: number;
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Value of the {@link #DAY_OF_WEEK} field indicating
|
|
1181
|
+
* Monday.
|
|
1182
|
+
|
|
1183
|
+
*/
|
|
1184
|
+
MONDAY: number;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Value of the {@link #DAY_OF_WEEK} field indicating
|
|
1188
|
+
* Tuesday.
|
|
1189
|
+
|
|
1190
|
+
*/
|
|
1191
|
+
TUESDAY: number;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Value of the {@link #DAY_OF_WEEK} field indicating
|
|
1195
|
+
* Wednesday.
|
|
1196
|
+
|
|
1197
|
+
*/
|
|
1198
|
+
WEDNESDAY: number;
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Value of the {@link #DAY_OF_WEEK} field indicating
|
|
1202
|
+
* Thursday.
|
|
1203
|
+
|
|
1204
|
+
*/
|
|
1205
|
+
THURSDAY: number;
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* Value of the {@link #DAY_OF_WEEK} field indicating
|
|
1209
|
+
* Friday.
|
|
1210
|
+
|
|
1211
|
+
*/
|
|
1212
|
+
FRIDAY: number;
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* Value of the {@link #DAY_OF_WEEK} field indicating
|
|
1216
|
+
* Saturday.
|
|
1217
|
+
|
|
1218
|
+
*/
|
|
1219
|
+
SATURDAY: number;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1223
|
+
* first month of the year in the Gregorian and Julian calendars.
|
|
1224
|
+
|
|
1225
|
+
*/
|
|
1226
|
+
JANUARY: number;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1230
|
+
* second month of the year in the Gregorian and Julian calendars.
|
|
1231
|
+
|
|
1232
|
+
*/
|
|
1233
|
+
FEBRUARY: number;
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1237
|
+
* third month of the year in the Gregorian and Julian calendars.
|
|
1238
|
+
|
|
1239
|
+
*/
|
|
1240
|
+
MARCH: number;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1244
|
+
* fourth month of the year in the Gregorian and Julian calendars.
|
|
1245
|
+
|
|
1246
|
+
*/
|
|
1247
|
+
APRIL: number;
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1251
|
+
* fifth month of the year in the Gregorian and Julian calendars.
|
|
1252
|
+
|
|
1253
|
+
*/
|
|
1254
|
+
MAY: number;
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1258
|
+
* sixth month of the year in the Gregorian and Julian calendars.
|
|
1259
|
+
|
|
1260
|
+
*/
|
|
1261
|
+
JUNE: number;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1265
|
+
* seventh month of the year in the Gregorian and Julian calendars.
|
|
1266
|
+
|
|
1267
|
+
*/
|
|
1268
|
+
JULY: number;
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1272
|
+
* eighth month of the year in the Gregorian and Julian calendars.
|
|
1273
|
+
|
|
1274
|
+
*/
|
|
1275
|
+
AUGUST: number;
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1279
|
+
* ninth month of the year in the Gregorian and Julian calendars.
|
|
1280
|
+
|
|
1281
|
+
*/
|
|
1282
|
+
SEPTEMBER: number;
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1286
|
+
* tenth month of the year in the Gregorian and Julian calendars.
|
|
1287
|
+
|
|
1288
|
+
*/
|
|
1289
|
+
OCTOBER: number;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1293
|
+
* eleventh month of the year in the Gregorian and Julian calendars.
|
|
1294
|
+
|
|
1295
|
+
*/
|
|
1296
|
+
NOVEMBER: number;
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1300
|
+
* twelfth month of the year in the Gregorian and Julian calendars.
|
|
1301
|
+
|
|
1302
|
+
*/
|
|
1303
|
+
DECEMBER: number;
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Value of the {@link #MONTH} field indicating the
|
|
1307
|
+
* thirteenth month of the year. Although <code>GregorianCalendar</code>
|
|
1308
|
+
* does not use this value, lunar calendars do.
|
|
1309
|
+
|
|
1310
|
+
*/
|
|
1311
|
+
UNDECIMBER: number;
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* Value of the {@link #AM_PM} field indicating the
|
|
1315
|
+
* period of the day from midnight to just before noon.
|
|
1316
|
+
|
|
1317
|
+
*/
|
|
1318
|
+
AM: number;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* Value of the {@link #AM_PM} field indicating the
|
|
1322
|
+
* period of the day from noon to just before midnight.
|
|
1323
|
+
|
|
1324
|
+
*/
|
|
1325
|
+
PM: number;
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* A style specifier for {@link #getDisplayNames(int, int, Locale)
|
|
1329
|
+
* getDisplayNames} indicating names in all styles, such as
|
|
1330
|
+
* "January" and "Jan".
|
|
1331
|
+
* @see #SHORT_FORMAT
|
|
1332
|
+
* @see #LONG_FORMAT
|
|
1333
|
+
* @see #SHORT_STANDALONE
|
|
1334
|
+
* @see #LONG_STANDALONE
|
|
1335
|
+
* @see #SHORT
|
|
1336
|
+
* @see #LONG
|
|
1337
|
+
* @since 1.6
|
|
1338
|
+
*/
|
|
1339
|
+
ALL_STYLES: number;
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* A style specifier for {@link #getDisplayName(int, int, Locale)
|
|
1343
|
+
* getDisplayName} and {@link #getDisplayNames(int, int, Locale)
|
|
1344
|
+
* getDisplayNames} equivalent to {@link #SHORT_FORMAT}.
|
|
1345
|
+
* @see #SHORT_STANDALONE
|
|
1346
|
+
* @see #LONG
|
|
1347
|
+
* @since 1.6
|
|
1348
|
+
*/
|
|
1349
|
+
SHORT: number;
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* A style specifier for {@link #getDisplayName(int, int, Locale)
|
|
1353
|
+
* getDisplayName} and {@link #getDisplayNames(int, int, Locale)
|
|
1354
|
+
* getDisplayNames} equivalent to {@link #LONG_FORMAT}.
|
|
1355
|
+
* @see #LONG_STANDALONE
|
|
1356
|
+
* @see #SHORT
|
|
1357
|
+
* @since 1.6
|
|
1358
|
+
*/
|
|
1359
|
+
LONG: number;
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* A style specifier for {@link #getDisplayName(int, int, Locale)
|
|
1363
|
+
* getDisplayName} and {@link #getDisplayNames(int, int, Locale)
|
|
1364
|
+
* getDisplayNames} indicating a narrow name used for format. Narrow names
|
|
1365
|
+
* are typically single character strings, such as "M" for Monday.
|
|
1366
|
+
* @see #NARROW_STANDALONE
|
|
1367
|
+
* @see #SHORT_FORMAT
|
|
1368
|
+
* @see #LONG_FORMAT
|
|
1369
|
+
* @since 1.8
|
|
1370
|
+
*/
|
|
1371
|
+
NARROW_FORMAT: number;
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* A style specifier for {@link #getDisplayName(int, int, Locale)
|
|
1375
|
+
* getDisplayName} and {@link #getDisplayNames(int, int, Locale)
|
|
1376
|
+
* getDisplayNames} indicating a narrow name independently. Narrow names
|
|
1377
|
+
* are typically single character strings, such as "M" for Monday.
|
|
1378
|
+
* @see #NARROW_FORMAT
|
|
1379
|
+
* @see #SHORT_STANDALONE
|
|
1380
|
+
* @see #LONG_STANDALONE
|
|
1381
|
+
* @since 1.8
|
|
1382
|
+
*/
|
|
1383
|
+
NARROW_STANDALONE: number;
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* A style specifier for {@link #getDisplayName(int, int, Locale)
|
|
1387
|
+
* getDisplayName} and {@link #getDisplayNames(int, int, Locale)
|
|
1388
|
+
* getDisplayNames} indicating a short name used for format.
|
|
1389
|
+
* @see #SHORT_STANDALONE
|
|
1390
|
+
* @see #LONG_FORMAT
|
|
1391
|
+
* @see #LONG_STANDALONE
|
|
1392
|
+
* @since 1.8
|
|
1393
|
+
*/
|
|
1394
|
+
SHORT_FORMAT: number;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* A style specifier for {@link #getDisplayName(int, int, Locale)
|
|
1398
|
+
* getDisplayName} and {@link #getDisplayNames(int, int, Locale)
|
|
1399
|
+
* getDisplayNames} indicating a long name used for format.
|
|
1400
|
+
* @see #LONG_STANDALONE
|
|
1401
|
+
* @see #SHORT_FORMAT
|
|
1402
|
+
* @see #SHORT_STANDALONE
|
|
1403
|
+
* @since 1.8
|
|
1404
|
+
*/
|
|
1405
|
+
LONG_FORMAT: number;
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* A style specifier for {@link #getDisplayName(int, int, Locale)
|
|
1409
|
+
* getDisplayName} and {@link #getDisplayNames(int, int, Locale)
|
|
1410
|
+
* getDisplayNames} indicating a short name used independently,
|
|
1411
|
+
* such as a month abbreviation as calendar headers.
|
|
1412
|
+
* @see #SHORT_FORMAT
|
|
1413
|
+
* @see #LONG_FORMAT
|
|
1414
|
+
* @see #LONG_STANDALONE
|
|
1415
|
+
* @since 1.8
|
|
1416
|
+
*/
|
|
1417
|
+
SHORT_STANDALONE: number;
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* A style specifier for {@link #getDisplayName(int, int, Locale)
|
|
1421
|
+
* getDisplayName} and {@link #getDisplayNames(int, int, Locale)
|
|
1422
|
+
* getDisplayNames} indicating a long name used independently,
|
|
1423
|
+
* such as a month name as calendar headers.
|
|
1424
|
+
* @see #LONG_FORMAT
|
|
1425
|
+
* @see #SHORT_FORMAT
|
|
1426
|
+
* @see #SHORT_STANDALONE
|
|
1427
|
+
* @since 1.8
|
|
1428
|
+
*/
|
|
1429
|
+
LONG_STANDALONE: number;
|
|
1430
|
+
};
|