Compoze Software, Inc.

portlets.compoze.groupware
Class RepeatPattern.Day

java.lang.Object
  extended byportlets.compoze.groupware.RepeatPattern.Day
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
RepeatPattern

public static class RepeatPattern.Day
extends java.lang.Object
implements java.io.Serializable

This class represents the day.

See Also:
Serialized Form

Field Summary
static RepeatPattern.Day FRIDAY
          This value represents 'Friday'.
static RepeatPattern.Day MONDAY
          This value represents 'Monday'.
static RepeatPattern.Day SATURDAY
          This value represents 'Saturday'.
static RepeatPattern.Day SUNDAY
          This value represents 'Sunday'.
static RepeatPattern.Day THURSDAY
          This value represents 'Thursday'.
static RepeatPattern.Day TUESDAY
          This value represents 'Tuesday'.
static int VALUE_FRIDAY
          The value that represents the day Friday.
static int VALUE_MONDAY
          The value that represents the day Monday.
static int VALUE_SATURDAY
          The value that represents the day Saturday.
static int VALUE_SUNDAY
          The value that represents the day Sunday.
static int VALUE_THURSDAY
          The value that represents the day Thursday.
static int VALUE_TUESDAY
          The value that represents the day Tuesday.
static int VALUE_WEDNESDAY
          The value that represents the day Wednesday.
static RepeatPattern.Day WEDNESDAY
          This value represents 'Wednesday'.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks for equality.
static RepeatPattern.Day get(int iValue)
          Gets the days by its value.
static java.util.List getDays()
          Gets the list of days.
 java.lang.String getKey()
          Gets the i18n resource key name.
 int getValue()
          Gets the value of the day.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_SUNDAY

public static final int VALUE_SUNDAY
The value that represents the day Sunday.

See Also:
Constant Field Values

VALUE_MONDAY

public static final int VALUE_MONDAY
The value that represents the day Monday.

See Also:
Constant Field Values

VALUE_TUESDAY

public static final int VALUE_TUESDAY
The value that represents the day Tuesday.

See Also:
Constant Field Values

VALUE_WEDNESDAY

public static final int VALUE_WEDNESDAY
The value that represents the day Wednesday.

See Also:
Constant Field Values

VALUE_THURSDAY

public static final int VALUE_THURSDAY
The value that represents the day Thursday.

See Also:
Constant Field Values

VALUE_FRIDAY

public static final int VALUE_FRIDAY
The value that represents the day Friday.

See Also:
Constant Field Values

VALUE_SATURDAY

public static final int VALUE_SATURDAY
The value that represents the day Saturday.

See Also:
Constant Field Values

SUNDAY

public static final RepeatPattern.Day SUNDAY
This value represents 'Sunday'.


MONDAY

public static final RepeatPattern.Day MONDAY
This value represents 'Monday'.


TUESDAY

public static final RepeatPattern.Day TUESDAY
This value represents 'Tuesday'.


WEDNESDAY

public static final RepeatPattern.Day WEDNESDAY
This value represents 'Wednesday'.


THURSDAY

public static final RepeatPattern.Day THURSDAY
This value represents 'Thursday'.


FRIDAY

public static final RepeatPattern.Day FRIDAY
This value represents 'Friday'.


SATURDAY

public static final RepeatPattern.Day SATURDAY
This value represents 'Saturday'.

Method Detail

getKey

public java.lang.String getKey()
Gets the i18n resource key name.

Returns:
the name

getValue

public int getValue()
Gets the value of the day.

Returns:
the value

get

public static RepeatPattern.Day get(int iValue)
Gets the days by its value.

Parameters:
iValue - the value to get by
Returns:
the matching day or null if not found

getDays

public static java.util.List getDays()
Gets the list of days.

Returns:
the list of Days (unmodifiable)

equals

public boolean equals(java.lang.Object o)
Checks for equality. The value is used to determine equality, so that the language the name is represented in is not important.

Parameters:
o - the object to check
Returns:
true if this object has the same value as the argument, false otherwise

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.