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

Diff of /classpath/java/util/Calendar.java

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

revision 1.17 by brawer, Tue Apr 30 14:11:29 2002 UTC revision 1.18 by tromey, Sat Aug 31 05:25:27 2002 UTC
# Line 1  Line 1 
1  /* java.util.Calendar  /* java.util.Calendar
2     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 504  public abstract class Calendar implement Line 504  public abstract class Calendar implement
504    /**    /**
505     * Returns the time represented by this Calendar.     * Returns the time represented by this Calendar.
506     * @return the time in milliseconds since the epoch.     * @return the time in milliseconds since the epoch.
507       * @specnote This was made public in 1.4.
508     */     */
509    protected long getTimeInMillis()    public long getTimeInMillis()
510    {    {
511      if (!isTimeSet)      if (!isTimeSet)
512        computeTime();        computeTime();
# Line 516  public abstract class Calendar implement Line 517  public abstract class Calendar implement
517     * Sets this Calendar's time to the given Time.  All time fields     * Sets this Calendar's time to the given Time.  All time fields
518     * are invalidated by this method.     * are invalidated by this method.
519     * @param time the time in milliseconds since the epoch     * @param time the time in milliseconds since the epoch
520       * @specnote This was made public in 1.4.
521     */     */
522    protected void setTimeInMillis(long time)    public void setTimeInMillis(long time)
523    {    {
524      this.time = time;      this.time = time;
525      isTimeSet = true;      isTimeSet = true;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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