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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Method clone.booleanMethod 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.inthashCode()Method hashCode.voidSet date format to use.voidsetPosition(String position) Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).voidsetTimezone(String timezone) Set the timezone to use.toString()Method toString.
-
Field Details
-
position
Where to place the date published (left, right, navigation-top, navigation-bottom, bottom). -
format
Date format to use. -
timezone
The timezone to use. Usesystemfor the default locale for this instance of the Java Virtual Machine. Refer tojava.util.TimeZonefor details.
-
-
Constructor Details
-
PublishDate
public PublishDate()
-
-
Method Details
-
clone
-
equals
-
getFormat
-
getPosition
Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).- Returns:
- 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
-
setFormat
-
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. Usesystemfor the default locale for this instance of the Java Virtual Machine. Refer tojava.util.TimeZonefor details.- Parameters:
timezone- a timezone object.
-
toString
-