Class PublishDate

java.lang.Object
org.apache.maven.doxia.site.decoration.PublishDate
All Implemented Interfaces:
Serializable, Cloneable

public class PublishDate extends Object implements Serializable, Cloneable
Modify display properties for date published.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • PublishDate

      public PublishDate()
  • Method Details

    • clone

      public PublishDate clone()
      Method clone.
      Overrides:
      clone in class Object
      Returns:
      PublishDate
    • equals

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other - a other object.
      Returns:
      boolean
    • getFormat

      public String getFormat()
      Get date format to use.
      Returns:
      String
    • getPosition

      public String getPosition()
      Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
      Returns:
      String
    • getTimezone

      public String getTimezone()
      Get the timezone to use. Use system for the default locale for this instance of the Java Virtual Machine. Refer to java.util.TimeZone for details.
      Returns:
      String
    • hashCode

      public int hashCode()
      Method hashCode.
      Overrides:
      hashCode in class Object
      Returns:
      int
    • setFormat

      public void setFormat(String format)
      Set date format to use.
      Parameters:
      format - a format object.
    • setPosition

      public void setPosition(String position)
      Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
      Parameters:
      position - a position object.
    • setTimezone

      public void setTimezone(String timezone)
      Set the timezone to use. Use system for the default locale for this instance of the Java Virtual Machine. Refer to java.util.TimeZone for details.
      Parameters:
      timezone - a timezone object.
    • toString

      public String toString()
      Method toString.
      Overrides:
      toString in class Object
      Returns:
      String