Java Platform 1.2

Uses of Class
java.util.Date

Packages that use Date
java.security Provides the classes and interfaces for the security framework. 
java.security.cert Provides classes and interfaces for parsing and managing certificates. 
java.sql Provides the JDBC package. 
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Uses of Date in java.security
 

Methods in java.security that return Date
abstract  Date KeyStoreSpi.engineGetCreationDate(String alias)
          Returns the creation date of the entry identified by the given alias.
 Date KeyStore.getCreationDate(String alias)
          Returns the creation date of the entry identified by the given alias.
 

Uses of Date in java.security.cert
 

Methods in java.security.cert that return Date
abstract  Date X509Certificate.getNotBefore()
          Gets the notBefore date from the validity period of the certificate.
abstract  Date X509Certificate.getNotAfter()
          Gets the notAfter date from the validity period of the certificate.
abstract  Date X509CRL.getThisUpdate()
          Gets the thisUpdate date from the CRL.
abstract  Date X509CRL.getNextUpdate()
          Gets the nextUpdate date from the CRL.
abstract  Date X509CRLEntry.getRevocationDate()
          Gets the revocation date from this X509CRLEntry, the revocationDate.
 

Methods in java.security.cert with parameters of type Date
abstract  void X509Certificate.checkValidity(Date date)
          Checks that the given date is within the certificate's validity period.
 

Uses of Date in java.sql
 

Subclasses of Date in java.sql
 class Date
          A thin wrapper around a millisecond value that allows JDBC to identify this as a SQL DATE.
 class Time
          A thin wrapper around java.util.Date that allows JDBC to identify this as a SQL TIME value.
 class Timestamp
          This class is a thin wrapper around java.util.Date that allows JDBC to identify this as a SQL TIMESTAMP value.
 

Uses of Date in java.text
 

Methods in java.text that return Date
 Date DateFormat.parse(String text)
          Parse a date/time string.
abstract  Date DateFormat.parse(String text, ParsePosition pos)
          Parse a date/time string according to the given parse position.
 Date SimpleDateFormat.get2DigitYearStart()
          Returns the beginning date of the 100-year period 2-digit years are interpreted as being within.
 Date SimpleDateFormat.parse(String text, ParsePosition pos)
          Overrides DateFormat
 

Methods in java.text with parameters of type Date
abstract  StringBuffer DateFormat.format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)
          Formats a Date into a date/time string.
 String DateFormat.format(Date date)
          Formats a Date into a date/time string.
 void SimpleDateFormat.set2DigitYearStart(Date startDate)
          Sets the 100-year period 2-digit years will be interpreted as being in to begin on the date the user specifies.
 StringBuffer SimpleDateFormat.format(Date date, StringBuffer toAppendTo, FieldPosition pos)
          Overrides DateFormat Formats a date or time, which is the standard millis since January 1, 1970, 00:00:00 GMT.
 

Uses of Date in java.util
 

Methods in java.util that return Date
 Date Calendar.getTime()
          Gets this Calendar's current time.
 Date GregorianCalendar.getGregorianChange()
          Gets the Gregorian Calendar change date.
 

Methods in java.util with parameters of type Date
 boolean Date.before(Date when)
          Tests if this date is before the specified date.
 boolean Date.after(Date when)
          Tests if this date is after the specified date.
 int Date.compareTo(Date anotherDate)
          Compares two Dates for ordering.
 void Calendar.setTime(Date date)
          Sets this Calendar's current time with the given Date.
 void GregorianCalendar.setGregorianChange(Date date)
          Sets the GregorianCalendar change date.
abstract  boolean TimeZone.inDaylightTime(Date date)
          Queries if the given date is in daylight savings time in this time zone.
 boolean SimpleTimeZone.inDaylightTime(Date date)
          Overrides TimeZone Queries if the given date is in Daylight Savings Time.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.