You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bw...@apache.org on 2003/04/12 02:26:26 UTC

cvs commit: maven/src/java/org/apache/maven/project Contributor.java

bwalding    2003/04/11 17:26:26

  Modified:    src/java/org/apache/maven/project Contributor.java
  Log:
  Add the timezone field
  PR:MAVEN-387
  
  Revision  Changes    Path
  1.7       +30 -1     maven/src/java/org/apache/maven/project/Contributor.java
  
  Index: Contributor.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/project/Contributor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Contributor.java	11 Apr 2003 23:45:33 -0000	1.6
  +++ Contributor.java	12 Apr 2003 00:26:26 -0000	1.7
  @@ -92,6 +92,11 @@
        * Contributor's homepage URL
        */
       private String url;
  +    
  +    /**
  +     * Contributor's timezone offset.  eg. -10
  +     */
  +    private String timezone;
   
       /**
        * Constructor for the Contributor object
  @@ -181,4 +186,28 @@
       {
           this.url = url;
       }
  +    
  +    /**
  +     * Gets the timezone offset of the Contributor object.
  +     *
  +     * @return the timezone offset of the Contributor's homepage
  +     */
  +
  +    public String getTimezone()
  +    {
  +        return timezone;
  +    }
  +
  +    /**
  +     * Set the timezone offset of the Contributor object
  +     *
  +     * @param timezone offset of the Contributor
  +     */
  +
  +    public void setTimezone(String timezone)
  +    {
  +        this.timezone = timezone;
  +    }
  +    
  +    
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org