Class PublishDate
- java.lang.Object
-
- org.apache.maven.doxia.site.decoration.PublishDate
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class PublishDate extends java.lang.Object implements java.io.Serializable, java.lang.CloneableModify display properties for date published.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PublishDate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishDateclone()Method clone.booleanequals(java.lang.Object other)Method equals.java.lang.StringgetFormat()Get date format to use.java.lang.StringgetPosition()Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).java.lang.StringgetTimezone()Get the timezone to use.inthashCode()Method hashCode.voidsetFormat(java.lang.String format)Set date format to use.voidsetPosition(java.lang.String position)Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).voidsetTimezone(java.lang.String timezone)Set the timezone to use.java.lang.StringtoString()Method toString.
-
-
-
Method Detail
-
clone
public PublishDate clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- PublishDate
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
other- a other object.- Returns:
- boolean
-
getFormat
public java.lang.String getFormat()
Get date format to use.- Returns:
- String
-
getPosition
public java.lang.String getPosition()
Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).- Returns:
- String
-
getTimezone
public java.lang.String getTimezone()
Get the timezone to use. Usesystemfor the default locale for this instance of the Java Virtual Machine. Refer tojava.util.TimeZonefor details.- Returns:
- String
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCodein classjava.lang.Object- Returns:
- int
-
setFormat
public void setFormat(java.lang.String format)
Set date format to use.- Parameters:
format- a format object.
-
setPosition
public void setPosition(java.lang.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(java.lang.String timezone)
Set the timezone to use. Usesystemfor the default locale for this instance of the Java Virtual Machine. Refer tojava.util.TimeZonefor details.- Parameters:
timezone- a timezone object.
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-