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. |
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 |
{ |
{ |
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; |
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 |
} |
} |
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 |
} |
} |
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 |
|
|