/[classpath]/inetlib/source/gnu/inet/nntp/ActiveTime.java
ViewVC logotype

Diff of /inetlib/source/gnu/inet/nntp/ActiveTime.java

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

revision 1.5 by dog, Thu Oct 21 15:21:55 2004 UTC revision 1.6 by dog, Thu Nov 25 22:15:05 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * $Id$   * ActiveTime.java
3   * Copyright (C) 2002 The Free Software Foundation   * Copyright (C) 2002 The Free Software Foundation
4   *   *
5   * This file is part of GNU inetlib, a library.   * This file is part of GNU inetlib, a library.
# Line 44  import java.util.Date; Line 44  import java.util.Date;
44   * An item in an NNTP newsgroup active time listing.   * An item in an NNTP newsgroup active time listing.
45   *   *
46   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>
  * @version $Revision$ $Date$  
47   */   */
48  public final class ActiveTime  public final class ActiveTime
49  {  {
# Line 53  public final class ActiveTime Line 52  public final class ActiveTime
52    Date time;    Date time;
53    String email;    String email;
54    
55    ActiveTime (String group, Date time, String email)    ActiveTime(String group, Date time, String email)
56    {    {
57      this.group = group;      this.group = group;
58      this.time = time;      this.time = time;
# Line 63  public final class ActiveTime Line 62  public final class ActiveTime
62    /**    /**
63     * The name of the newsgroup.     * The name of the newsgroup.
64     */     */
65    public String getGroup ()    public String getGroup()
66    {    {
67      return group;      return group;
68    }    }
# Line 71  public final class ActiveTime Line 70  public final class ActiveTime
70    /**    /**
71     * The date the newsgroup was added to the hierarchy.     * The date the newsgroup was added to the hierarchy.
72     */     */
73    public Date getTime ()    public Date getTime()
74    {    {
75      return time;      return time;
76    }    }
# Line 79  public final class ActiveTime Line 78  public final class ActiveTime
78    /**    /**
79     * The email address of the creator of the newsgroup.     * The email address of the creator of the newsgroup.
80     */     */
81    public String getEmail ()    public String getEmail()
82    {    {
83      return email;      return email;
84    }    }
85    
86  }  }
87    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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