java.lang.Object
com.xebialabs.deployit.core.api.resteasy.Date
All Implemented Interfaces:
Comparable<Date>

public class Date extends Object implements Comparable<Date>
Can be used as a parameter in RestEASY, as it has a String argument constructor.
  • Field Details

    • FORMAT

      public static final String FORMAT
      See Also:
    • rfc822DateFormats

      protected static final String[] rfc822DateFormats
      List of possible RFC822 date formats. From <http://jimyjoshi.com/blog/2007/08/rfc822dateparsinginjava.html>.
  • Constructor Details

  • Method Details

    • valueOf

      public static Date valueOf(String dateString)
    • getCalendar

      public Calendar getCalendar()
    • asDateTime

      public org.joda.time.DateTime asDateTime()
    • compareTo

      public int compareTo(Date arg0)
      Specified by:
      compareTo in interface Comparable<Date>
    • toString

      public String toString()
      Overrides:
      toString in class Object