Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-05


oracle.adf.view.rich.model
Enum CalendarActivity.TimeType

java.lang.Object
  extended by java.lang.Enum<CalendarActivity.TimeType>
      extended by oracle.adf.view.rich.model.CalendarActivity.TimeType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CalendarActivity.TimeType>
Enclosing class:
CalendarActivity

public static enum CalendarActivity.TimeType
extends java.lang.Enum<CalendarActivity.TimeType>

Whether or not time (hours, minutes, etc) is relevant.


Enum Constant Summary
ALLDAY
          An activity that lasts the full day or days and does not have a start or end time.
TIME
          An activity that has a start and end time.
UNKNOWN
          Not known for the activity

 

Method Summary
static CalendarActivity.TimeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CalendarActivity.TimeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

UNKNOWN

public static final CalendarActivity.TimeType UNKNOWN
Not known for the activity

ALLDAY

public static final CalendarActivity.TimeType ALLDAY
An activity that lasts the full day or days and does not have a start or end time. In general an allday activity type is not timezone dependent. For example if your birthday is May 28 you would expect to see it in your calendar on May 28 regardless of whether you are in Paris, Tokyo, or New York.

TIME

public static final CalendarActivity.TimeType TIME
An activity that has a start and end time. In general this is a timezone dependent start and end time, for example if there is a meeting from 10-11am San Francisco time, that meeting is from 1-2pm New York time.

Method Detail

values

public static CalendarActivity.TimeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CalendarActivity.TimeType c : CalendarActivity.TimeType.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CalendarActivity.TimeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-05


Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.