BrightSide Workbench Full Report + Source Code
org.turro.scheduler.constraints.WeekDay Enum Reference

Static Public Member Functions

static int map (int i)
 

Public Attributes

 MONDAY
 
 TUESDAY
 
 WEDNESDAY
 
 THURSDAY
 
 FRIDAY
 
 SATURDAY
 
 SUNDAY
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 26 of file constraints/WeekDay.java.

Member Function Documentation

◆ map()

static int org.turro.scheduler.constraints.WeekDay.map ( int  i)
static

Definition at line 36 of file constraints/WeekDay.java.

36  {
37  switch(i) {
38  case 0: return Calendar.MONDAY;
39  case 1: return Calendar.TUESDAY;
40  case 2: return Calendar.WEDNESDAY;
41  case 3: return Calendar.THURSDAY;
42  case 4: return Calendar.FRIDAY;
43  case 5: return Calendar.SATURDAY;
44  case 6: return Calendar.SUNDAY;
45  }
46  return -1;
47  }
Here is the caller graph for this function:

Member Data Documentation

◆ FRIDAY

org.turro.scheduler.constraints.WeekDay.FRIDAY

Definition at line 32 of file constraints/WeekDay.java.

◆ MONDAY

org.turro.scheduler.constraints.WeekDay.MONDAY

Definition at line 28 of file constraints/WeekDay.java.

◆ SATURDAY

org.turro.scheduler.constraints.WeekDay.SATURDAY

Definition at line 33 of file constraints/WeekDay.java.

◆ SUNDAY

org.turro.scheduler.constraints.WeekDay.SUNDAY

Definition at line 34 of file constraints/WeekDay.java.

◆ THURSDAY

org.turro.scheduler.constraints.WeekDay.THURSDAY

Definition at line 31 of file constraints/WeekDay.java.

◆ TUESDAY

org.turro.scheduler.constraints.WeekDay.TUESDAY

Definition at line 29 of file constraints/WeekDay.java.

◆ WEDNESDAY

org.turro.scheduler.constraints.WeekDay.WEDNESDAY

Definition at line 30 of file constraints/WeekDay.java.


The documentation for this enum was generated from the following file: