/[classpath]/classpath/javax/print/attribute/DateTimeSyntax.java
ViewVC logotype

Diff of /classpath/javax/print/attribute/DateTimeSyntax.java

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

revision 1.1.2.1 by gnu_andrew, Tue Aug 2 20:12:36 2005 UTC revision 1.1.2.2 by gnu_andrew, Sun Nov 27 21:00:37 2005 UTC
# Line 1  Line 1 
1  /* DateTimeSyntax.java --  /* DateTimeSyntax.java --
2     Copyright (C) 2003 Free Software Foundation, Inc.     Copyright (C) 2003, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 41  import java.io.Serializable; Line 41  import java.io.Serializable;
41  import java.util.Date;  import java.util.Date;
42    
43  /**  /**
44   * @author Michael Koch   * <code>DateTimeSyntax</code> is the abstract base class of all attribute
45     * classes having a date and a time as value.
46     *
47     * @author Michael Koch (konqueror@gmx.de)
48   */   */
49  public abstract class DateTimeSyntax implements Cloneable, Serializable  public abstract class DateTimeSyntax implements Cloneable, Serializable
50  {  {
# Line 52  public abstract class DateTimeSyntax imp Line 55  public abstract class DateTimeSyntax imp
55    /**    /**
56     * Creates a <code>DateTimeSyntax</code> with a given value.     * Creates a <code>DateTimeSyntax</code> with a given value.
57     *     *
58     * @param value the value for this syntax     * @param value the date for this syntax
59     *     *
60     * @exception NullPointerException if value is null     * @exception NullPointerException if value is null
61     */     */
# Line 67  public abstract class DateTimeSyntax imp Line 70  public abstract class DateTimeSyntax imp
70    /**    /**
71     * Returns the date value of this object.     * Returns the date value of this object.
72     *     *
73     * @return the date value     * @return The date value.
74     */     */
75    public Date getValue()    public Date getValue()
76    {    {
# Line 79  public abstract class DateTimeSyntax imp Line 82  public abstract class DateTimeSyntax imp
82     *     *
83     * @param obj the object to test     * @param obj the object to test
84     *     *
85     * @return True if both objects are equal, false otherwise.     * @return <code>true</code> if both objects are equal,
86       * <code>false</code> otherwise.
87     */     */
88    public boolean equals(Object obj)    public boolean equals(Object obj)
89    {    {
# Line 92  public abstract class DateTimeSyntax imp Line 96  public abstract class DateTimeSyntax imp
96    /**    /**
97     * Returns the hashcode for this object.     * Returns the hashcode for this object.
98     *     *
99     * @return the hashcode     * @return The hashcode.
100     */     */
101    public int hashCode()    public int hashCode()
102    {    {

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

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