Package org.apache.maven.plugins.pdf
Klasse DateBean
java.lang.Object
org.apache.maven.plugins.pdf.DateBean
Simple bean to allow date interpolation in the document descriptor, i.e.
${year} = 2009 ${date} = 2009-05-17
- Autor:
- ltheussl
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
DateBean
public DateBean()Construct a new DateBean for the current Date. -
DateBean
Construct a new DateBean with a given Date.- Parameter:
date
- the date to set.
-
-
Methodendetails
-
setDate
Set the Date of this bean.- Parameter:
date
- the date to set.
-
getYear
- Gibt zurück:
- the year in format "yyyy".
-
getMonth
- Gibt zurück:
- the month in format "MM".
-
getDay
- Gibt zurück:
- the day in format "dd".
-
getHour
- Gibt zurück:
- the hour in format "HH".
-
getMinute
- Gibt zurück:
- the minute in format "mm".
-
getSecond
- Gibt zurück:
- the second in format "ss".
-
getMillisecond
- Gibt zurück:
- the millisecond in format "SSS".
-
getDate
- Gibt zurück:
- the date using the ISO 8601 format, i.e.
yyyy-MM-dd
.
-
getTime
- Gibt zurück:
- the time using the ISO 8601 format and UTC time zone, i.e.
HH:mm:ss'Z'
.
-
getDateTime
- Gibt zurück:
- the datetime using the ISO 8601 format, i.e.
yyyy-MM-dd'T'HH:mm:ss'Z'
.
-