Klasse DateBean

java.lang.Object
org.apache.maven.plugins.pdf.DateBean

public class DateBean extends Object
Simple bean to allow date interpolation in the document descriptor, i.e.
 ${year}  = 2009
 ${date}  = 2009-05-17
 
Autor:
ltheussl
  • Konstruktordetails

    • DateBean

      public DateBean()
      Construct a new DateBean for the current Date.
    • DateBean

      public DateBean(Date date)
      Construct a new DateBean with a given Date.
      Parameter:
      date - the date to set.
  • Methodendetails

    • setDate

      public void setDate(Date date)
      Set the Date of this bean.
      Parameter:
      date - the date to set.
    • getYear

      public String getYear()
      Gibt zurück:
      the year in format "yyyy".
    • getMonth

      public String getMonth()
      Gibt zurück:
      the month in format "MM".
    • getDay

      public String getDay()
      Gibt zurück:
      the day in format "dd".
    • getHour

      public String getHour()
      Gibt zurück:
      the hour in format "HH".
    • getMinute

      public String getMinute()
      Gibt zurück:
      the minute in format "mm".
    • getSecond

      public String getSecond()
      Gibt zurück:
      the second in format "ss".
    • getMillisecond

      public String getMillisecond()
      Gibt zurück:
      the millisecond in format "SSS".
    • getDate

      public String getDate()
      Gibt zurück:
      the date using the ISO 8601 format, i.e. yyyy-MM-dd.
    • getTime

      public String getTime()
      Gibt zurück:
      the time using the ISO 8601 format and UTC time zone, i.e. HH:mm:ss'Z'.
    • getDateTime

      public String getDateTime()
      Gibt zurück:
      the datetime using the ISO 8601 format, i.e. yyyy-MM-dd'T'HH:mm:ss'Z'.