com.ds.fw.types.data
Interface FwDateConstantsIF

All Known Subinterfaces:
FwDateIF
All Known Implementing Classes:
FwDate

public interface FwDateConstantsIF

I define some constants that are useful with dates. These constants are defined here rather than in the FwDateIF so that classes that want to "import" these constants into their namespace can just say "implements FwDateConstantsIF".


Field Summary
static int DOW_FRIDAY
           
static int DOW_MONDAY
           
static int DOW_SATURDAY
           
static int DOW_SUNDAY
          Day of week values.
static int DOW_THURSDAY
           
static int DOW_TUESDAY
           
static int DOW_WEDNESDAY
           
static int FIRST_DAY_OF_WEEK
          The day of week of January 1st of the FIRST_YEAR.
static int FIRST_YEAR
          This is the earliest year that is considered valid for FwDates.
static java.lang.String GMT_TIME_ZONE_ID
          TIME ZONE
static int LAST_YEAR
          This is the last year that is considered valid for FwDates.
 

Field Detail

GMT_TIME_ZONE_ID

public static final java.lang.String GMT_TIME_ZONE_ID
TIME ZONE

See Also:
Constant Field Values

DOW_SUNDAY

public static final int DOW_SUNDAY
Day of week values.

See Also:
Constant Field Values

DOW_MONDAY

public static final int DOW_MONDAY
See Also:
Constant Field Values

DOW_TUESDAY

public static final int DOW_TUESDAY
See Also:
Constant Field Values

DOW_WEDNESDAY

public static final int DOW_WEDNESDAY
See Also:
Constant Field Values

DOW_THURSDAY

public static final int DOW_THURSDAY
See Also:
Constant Field Values

DOW_FRIDAY

public static final int DOW_FRIDAY
See Also:
Constant Field Values

DOW_SATURDAY

public static final int DOW_SATURDAY
See Also:
Constant Field Values

FIRST_YEAR

public static final int FIRST_YEAR
This is the earliest year that is considered valid for FwDates. Although the FwDate.year can be set to any value the isValid() method will return false if the year is less than FIRST_YEAR. Also, date computations like addDay() and isBefore() are only guaranteed to work if FIRST_YEAR <= year <= LAST_YEAR.

See Also:
Constant Field Values

FIRST_DAY_OF_WEEK

public static final int FIRST_DAY_OF_WEEK
The day of week of January 1st of the FIRST_YEAR.

See Also:
Constant Field Values

LAST_YEAR

public static final int LAST_YEAR
This is the last year that is considered valid for FwDates. Although the FwDate.year can be set to any value the isValid() method will return false if the year is greater than LAST_YEAR. Also, date computations like addDay() and isBefore() are only guaranteed to work if FIRST_YEAR <= year <= LAST_YEAR.

See Also:
Constant Field Values