BrightSide Workbench Full Report + Source Code
org.turro.calendar.CalendarMode Enum Reference

Public Member Functions

String getKey ()
 
int getDays ()
 
String getMold ()
 

Static Public Member Functions

static CalendarMode getByKey (String key)
 

Public Attributes

 DAY_MODE =("day", 1, "default")
 
 WEEK_MODE =("week", 7, "default")
 
 WORKDAYS_MODE =("workday", 5, "default")
 
 MONTH_MODE =("month", 0, "month")
 
String mold
 

Detailed Description

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

Definition at line 25 of file CalendarMode.java.

Member Function Documentation

◆ getByKey()

static CalendarMode org.turro.calendar.CalendarMode.getByKey ( String  key)
static

Definition at line 53 of file CalendarMode.java.

53  {
54  for(CalendarMode cm : CalendarMode.values()) {
55  if(key.equals(cm.getKey())) return cm;
56  }
57  return null;
58  }
Here is the caller graph for this function:

◆ getDays()

int org.turro.calendar.CalendarMode.getDays ( )

Definition at line 45 of file CalendarMode.java.

45  {
46  return days;
47  }
Here is the caller graph for this function:

◆ getKey()

String org.turro.calendar.CalendarMode.getKey ( )

Definition at line 41 of file CalendarMode.java.

41  {
42  return key;
43  }

◆ getMold()

String org.turro.calendar.CalendarMode.getMold ( )

Definition at line 49 of file CalendarMode.java.

49  {
50  return mold;
51  }
Here is the caller graph for this function:

Member Data Documentation

◆ DAY_MODE

org.turro.calendar.CalendarMode.DAY_MODE =("day", 1, "default")

Definition at line 27 of file CalendarMode.java.

◆ mold

String org.turro.calendar.CalendarMode.mold

Definition at line 33 of file CalendarMode.java.

◆ MONTH_MODE

org.turro.calendar.CalendarMode.MONTH_MODE =("month", 0, "month")

Definition at line 30 of file CalendarMode.java.

◆ WEEK_MODE

org.turro.calendar.CalendarMode.WEEK_MODE =("week", 7, "default")

Definition at line 28 of file CalendarMode.java.

◆ WORKDAYS_MODE

org.turro.calendar.CalendarMode.WORKDAYS_MODE =("workday", 5, "default")

Definition at line 29 of file CalendarMode.java.


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