Z-Index (Java Platform SE 8 )
Date: 2026-04-17

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

## Z

ZERO - Static variable in class java.math.BigDecimal
  The value 0, with a scale of 0.
ZERO - Static variable in class java.math.BigInteger
  The BigInteger constant zero.
ZERO - Static variable in class java.time.Duration
  Constant for a duration of zero.
ZERO - Static variable in class java.time.Period
  A constant for a period of zero.
ZipEntry - Class in java.util.zip
  This class is used to represent a ZIP file entry.
ZipEntry(String) - Constructor for class java.util.zip.ZipEntry
  Creates a new zip entry with the specified name.
ZipEntry(ZipEntry) - Constructor for class java.util.zip.ZipEntry
  Creates a new zip entry with fields taken from the specified zip entry.
ZipError - Error in java.util.zip
  Signals that an unrecoverable error has occurred.
ZipError(String) - Constructor for error java.util.zip.ZipError
  Constructs a ZipError with the given detail message.
ZipException - Exception in java.util.zip
  Signals that a Zip exception of some sort has occurred.
ZipException() - Constructor for exception java.util.zip.ZipException
  Constructs a `ZipException` with `null` as its error detail message.
ZipException(String) - Constructor for exception java.util.zip.ZipException
  Constructs a `ZipException` with the specified detail message.
ZipFile - Class in java.util.zip
  This class is used to read entries from a zip file.
ZipFile(String) - Constructor for class java.util.zip.ZipFile
  Opens a zip file for reading.
ZipFile(File, int) - Constructor for class java.util.zip.ZipFile
  Opens a new `ZipFile` to read from the specified `File` object in the specified mode.
ZipFile(File) - Constructor for class java.util.zip.ZipFile
  Opens a ZIP file for reading given the specified File object.
ZipFile(File, int, Charset) - Constructor for class java.util.zip.ZipFile
  Opens a new `ZipFile` to read from the specified `File` object in the specified mode.
ZipFile(String, Charset) - Constructor for class java.util.zip.ZipFile
  Opens a zip file for reading.
ZipFile(File, Charset) - Constructor for class java.util.zip.ZipFile
  Opens a ZIP file for reading given the specified File object.
ZipInputStream - Class in java.util.zip
  This class implements an input stream filter for reading files in the ZIP file format.
ZipInputStream(InputStream) - Constructor for class java.util.zip.ZipInputStream
  Creates a new ZIP input stream.
ZipInputStream(InputStream, Charset) - Constructor for class java.util.zip.ZipInputStream
  Creates a new ZIP input stream.
ZipOutputStream - Class in java.util.zip
  This class implements an output stream filter for writing files in the ZIP file format.
ZipOutputStream(OutputStream) - Constructor for class java.util.zip.ZipOutputStream
  Creates a new ZIP output stream.
ZipOutputStream(OutputStream, Charset) - Constructor for class java.util.zip.ZipOutputStream
  Creates a new ZIP output stream.
zone() - Static method in class java.time.temporal.TemporalQueries
  A lenient query for the `ZoneId`, falling back to the `ZoneOffset`.
ZONE_OFFSET - Static variable in class java.util.Calendar
  Field number for `get` and `set` indicating the raw offset from GMT in milliseconds.
zonedDateTime(TemporalAccessor) - Method in interface java.time.chrono.Chronology
  Obtains a `ChronoZonedDateTime` in this chronology from another temporal object.
zonedDateTime(Instant, ZoneId) - Method in interface java.time.chrono.Chronology
  Obtains a `ChronoZonedDateTime` in this chronology from an `Instant`.
zonedDateTime(TemporalAccessor) - Method in class java.time.chrono.HijrahChronology
zonedDateTime(Instant, ZoneId) - Method in class java.time.chrono.HijrahChronology
zonedDateTime(TemporalAccessor) - Method in class java.time.chrono.IsoChronology
  Obtains an ISO zoned date-time from another date-time object.
zonedDateTime(Instant, ZoneId) - Method in class java.time.chrono.IsoChronology
  Obtains an ISO zoned date-time in this chronology from an `Instant`.
zonedDateTime(TemporalAccessor) - Method in class java.time.chrono.JapaneseChronology
zonedDateTime(Instant, ZoneId) - Method in class java.time.chrono.JapaneseChronology
zonedDateTime(TemporalAccessor) - Method in class java.time.chrono.MinguoChronology
zonedDateTime(Instant, ZoneId) - Method in class java.time.chrono.MinguoChronology
zonedDateTime(TemporalAccessor) - Method in class java.time.chrono.ThaiBuddhistChronology
zonedDateTime(Instant, ZoneId) - Method in class java.time.chrono.ThaiBuddhistChronology
ZonedDateTime - Class in java.time
  A date-time with a time-zone in the ISO-8601 calendar system, such as `2007-12-03T10:15:30+01:00 Europe/Paris`.
zoneId() - Static method in class java.time.temporal.TemporalQueries
  A strict query for the `ZoneId`.
ZoneId - Class in java.time
  A time-zone ID, such as `Europe/Paris`.
ZoneOffset - Class in java.time
  A time-zone offset from Greenwich/UTC, such as `+02:00`.
ZoneOffsetTransition - Class in java.time.zone
  A transition between two offsets caused by a discontinuity in the local time-line.
ZoneOffsetTransitionRule - Class in java.time.zone
  A rule expressing how to create a transition.
ZoneOffsetTransitionRule.TimeDefinition - Enum in java.time.zone
  A definition of the way a local time can be converted to the actual transition date-time.
ZoneRules - Class in java.time.zone
  The rules defining how the zone offset varies for a single time-zone.
ZoneRulesException - Exception in java.time.zone
  Thrown to indicate a problem with time-zone configuration.
ZoneRulesException(String) - Constructor for exception java.time.zone.ZoneRulesException
  Constructs a new date-time exception with the specified message.
ZoneRulesException(String, Throwable) - Constructor for exception java.time.zone.ZoneRulesException
  Constructs a new date-time exception with the specified message and cause.
ZoneRulesProvider - Class in java.time.zone
  Provider of time-zone rules to the system.
ZoneRulesProvider() - Constructor for class java.time.zone.ZoneRulesProvider
  Constructor.
ZoneView - Class in javax.swing.text
  ZoneView is a View implementation that creates zones for which the child views are not created or stored until they are needed for display or model/view translations.
ZoneView(Element, int) - Constructor for class javax.swing.text.ZoneView
  Constructs a ZoneView.
zoneWasLoaded(View) - Method in class javax.swing.text.ZoneView
  Called by a zone when it gets loaded.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.