Package anderix.util

Class SuperDate

java.lang.Object
anderix.util.SuperDate

public class SuperDate extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • parse

      public Date parse(String d) throws ParseException
      Throws:
      ParseException
    • parse

      public Date parse(String d, String simpleDateFormat) throws ParseException
      Throws:
      ParseException
    • getDayOfMonth

      public int getDayOfMonth()
    • getDayOfWeek

      public int getDayOfWeek()
    • getDayOfWeekString

      public String getDayOfWeekString()
    • getMonth

      public int getMonth()
    • getMonthString

      public String getMonthString()
    • getYear

      public int getYear()
    • getHours

      public int getHours()
    • getMinutes

      public int getMinutes()
    • getSeconds

      public int getSeconds()
    • getMilliseconds

      public int getMilliseconds()
    • toDate

      public Date toDate()
    • addHours

      public SuperDate addHours(int hours)
    • toCalendar

      public Calendar toCalendar()
    • formatDateFull

      public String formatDateFull()
    • formatDateLong

      public String formatDateLong()
    • formatDateShort

      public String formatDateShort()
    • formatDateMedium

      public String formatDateMedium()
    • formatDateYearMonthDay

      public String formatDateYearMonthDay()
    • formatTimeFull

      public String formatTimeFull()
    • formatTimeLong

      public String formatTimeLong()
    • formatTimeShort

      public String formatTimeShort()
    • formatTimeMedium

      public String formatTimeMedium()
    • formatDateTimeFull

      public String formatDateTimeFull()
    • formatDateTimeLong

      public String formatDateTimeLong()
    • formatDateTimeShort

      public String formatDateTimeShort()
    • formatDateTimeMedium

      public String formatDateTimeMedium()
    • formatDateTimeStamp

      public String formatDateTimeStamp()
    • formatDateTimeLocal

      public String formatDateTimeLocal()
    • formatSql

      public String formatSql()
    • formatSqlQuoted

      public String formatSqlQuoted()
    • format

      public String format(String pattern)
    • compareToYear

      public int compareToYear(SuperDate compareToSuperDate)
    • compareToMonth

      public int compareToMonth(SuperDate compareToSuperDate)
    • compareToDay

      public int compareToDay(SuperDate compareToSuperDate)
    • compareToHours

      public int compareToHours(SuperDate compareToSuperDate)
    • compareToMinutes

      public int compareToMinutes(SuperDate compareToSuperDate)
    • compareToSeconds

      public int compareToSeconds(SuperDate compareToSuperDate)
    • compareToMilliseconds

      public int compareToMilliseconds(SuperDate compareToSuperDate)