Class PublishDate
java.lang.Object
org.apache.maven.doxia.site.decoration.PublishDate
- All Implemented Interfaces:
Serializable
,Cloneable
Modify display properties for date published.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Method clone.boolean
Method equals.Get date format to use.Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).Get the timezone to use.int
hashCode()
Method hashCode.void
Set date format to use.void
setPosition
(String position) Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).void
setTimezone
(String timezone) Set the timezone to use.toString()
Method toString.
-
Constructor Details
-
PublishDate
public PublishDate()
-
-
Method Details
-
clone
Method clone. -
equals
Method equals. -
getFormat
Get date format to use.- Returns:
- String
-
getPosition
Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).- Returns:
- String
-
getTimezone
Get the timezone to use. Usesystem
for the default locale for this instance of the Java Virtual Machine. Refer tojava.util.TimeZone
for details.- Returns:
- String
-
hashCode
public int hashCode()Method hashCode. -
setFormat
Set date format to use.- Parameters:
format
- a format object.
-
setPosition
Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).- Parameters:
position
- a position object.
-
setTimezone
Set the timezone to use. Usesystem
for the default locale for this instance of the Java Virtual Machine. Refer tojava.util.TimeZone
for details.- Parameters:
timezone
- a timezone object.
-
toString
Method toString.
-