/[classpath]/classpath/java/util/SimpleTimeZone.java
ViewVC logotype

Diff of /classpath/java/util/SimpleTimeZone.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by brawer, Tue Apr 30 22:19:25 2002 UTC revision 1.14 by mkoch, Thu Jun 19 16:23:39 2003 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package java.util;  package java.util;
40    
 import java.text.DateFormatSymbols;  
   
41  /**  /**
42   * This class represents a simple time zone offset and handles   * This class represents a simple time zone offset and handles
43   * daylight savings.  It can only handle one daylight savings rule, so   * daylight savings.  It can only handle one daylight savings rule, so
# Line 88  public class SimpleTimeZone extends Time Line 86  public class SimpleTimeZone extends Time
86    private static final int DOW_IN_MONTH_MODE = 2;    private static final int DOW_IN_MONTH_MODE = 2;
87    private static final int DOW_GE_DOM_MODE = 3;    private static final int DOW_GE_DOM_MODE = 3;
88    private static final int DOW_LE_DOM_MODE = 4;    private static final int DOW_LE_DOM_MODE = 4;
89      
90    /**    /**
91     * The mode of the start rule. This takes one of the following values:     * The mode of the start rule. This takes one of the following values:
92     * <dl>     * <dl>
# Line 488  public class SimpleTimeZone extends Time Line 487  public class SimpleTimeZone extends Time
487    /**    /**
488     * Returns the time zone offset to GMT in milliseconds, ignoring     * Returns the time zone offset to GMT in milliseconds, ignoring
489     * day light savings.     * day light savings.
490     * @return the time zone offset.  */     * @return the time zone offset.
491       */
492    public int getRawOffset()    public int getRawOffset()
493    {    {
494      return rawOffset;      return rawOffset;
# Line 507  public class SimpleTimeZone extends Time Line 507  public class SimpleTimeZone extends Time
507     * Gets the daylight savings offset.  This is a positive offset in     * Gets the daylight savings offset.  This is a positive offset in
508     * milliseconds with respect to standard time.  Typically this     * milliseconds with respect to standard time.  Typically this
509     * is one hour, but for some time zones this may be half an our.     * is one hour, but for some time zones this may be half an our.
510       *
511     * @return the daylight savings offset in milliseconds.     * @return the daylight savings offset in milliseconds.
512     * @since JDK1.1.4?     *
513       * @since 1.2
514     */     */
515    public int getDSTSavings()    public int getDSTSavings()
516    {    {

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26