Class cynosurex.util.EnhancedDate
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.util.EnhancedDate

java.lang.Object
   |
   +----java.util.Date
           |
           +----cynosurex.util.EnhancedDate

public class EnhancedDate
extends Date
EnhancedDate extends the Java Date class to allow the return the Day field as a String.

Constructor Index

 o EnhancedDate()
Constructor to create an EnhancedDate object from the current system date and time.
 o EnhancedDate(int, int, int)
Constructor to create an EnhancedDate object using the supplied arguments.
 o EnhancedDate(int, int, int, int, int)
Constructor to create an EnhancedDate object using the supplied arguments.
 o EnhancedDate(int, int, int, int, int, int)
Constructor to create an EnhancedDate object using the supplied arguments.
 o EnhancedDate(long)
Constructor to create an EnhancedDate object from a long integer.
 o EnhancedDate(String)
Constructor to create an EnhancedDate object from a String object.

Method Index

 o toDayString()
Method to return the Day field in String.
 o toShortDayString()
Method to return the Day field in String, in three-character form.
 o toString()
Over-rides super.toString ().

Constructors

 o EnhancedDate
  public EnhancedDate()
Constructor to create an EnhancedDate object from the current system date and time.
 o EnhancedDate
  public EnhancedDate(long date)
Constructor to create an EnhancedDate object from a long integer.
 o EnhancedDate
  public EnhancedDate(int year,
                      int month,
                      int date)
Constructor to create an EnhancedDate object using the supplied arguments.
 o EnhancedDate
  public EnhancedDate(int year,
                      int month,
                      int date,
                      int hrs,
                      int min)
Constructor to create an EnhancedDate object using the supplied arguments.
 o EnhancedDate
  public EnhancedDate(int year,
                      int month,
                      int date,
                      int hrs,
                      int min,
                      int sec)
Constructor to create an EnhancedDate object using the supplied arguments.
 o EnhancedDate
  public EnhancedDate(String str)
Constructor to create an EnhancedDate object from a String object.

Methods

 o toDayString
  public String toDayString()
Method to return the Day field in String. For example, Monday, Wednesday, Sunday, etc.
 o toShortDayString
  public String toShortDayString()
Method to return the Day field in String, in three-character form. For example, Mon, Wed, Sun, etc.
 o toString
  public String toString()
Over-rides super.toString ().
Overrides:
toString in class Date

All Packages  Class Hierarchy  This Package  Previous  Next  Index