Class SDate

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Calendar>

public class SDate extends GregorianCalendar
See Also:
  • Constructor Details

    • SDate

      public SDate()
      Creates a new SDate
    • SDate

      public SDate(GregorianCalendar gc)
      Creates a new SDate
      Parameters:
      gc - The GregorianCalendar
    • SDate

      public SDate(Date date)
      Creates a new SDate
      Parameters:
      date - The Date
    • SDate

      public SDate(Date date, Date time)
      Creates a new SDate
      Parameters:
      date - The Date
      time - The time
    • SDate

      public SDate(GregorianCalendar date, Date time)
      Creates a new SDate
      Parameters:
      date - The date
      time - The time
  • Method Details

    • addSeconds

      public void addSeconds(int m)
      Adds seconds
      Parameters:
      m - The seconds to add
    • weekDay

      public int weekDay()
      Returns the day of the week
      Returns:
      The day of the week
    • monthDay

      public int monthDay()
      Returns the day of the month
      Returns:
      The day of the month
    • dayHour

      public int dayHour()
      Returns the hour of the day
      Returns:
      The hour of the day
    • hourMinutes

      public int hourMinutes()
      Returns the minutes of the hour
      Returns:
      The minutes of the hour