public class Constants extends Constants
Modifier and Type | Field and Description |
---|---|
static int |
DAY_CODE_ALL
All days
|
static int |
DAY_CODE_WEEK
All week days
|
static int[] |
DAY_CODES
Day codes to combine several days into one int
|
static String[] |
DAY_NAMES_SHORT
Day names in short format M, T, W, Th, F, Sa, Su
|
static int |
DAY_SLOTS_FIRST
Number of slots per day
|
static int |
DAY_SLOTS_LAST
Number of slots per day
|
static int |
FIRST_SLOT_TIME_MIN
Start time of the first slot in minutes (from midnight)
|
static int |
NR_DAYS
Number of days
|
static int |
NR_DAYS_WEEK
Number of days of week (excludes weekend)
|
static int |
SLOT_LENGTH_MIN
Length of a single slot in minutes
|
static int |
SLOTS_PER_DAY
Number of slots per day
|
static int |
SLOTS_PER_DAY_NO_EVENINGS
Number of slots per day w/o evening hours
|
static String |
sPreferenceDiscouraged
Preference: discouraged
|
static int |
sPreferenceLevelDiscouraged
Preference level: discouraged
|
static int |
sPreferenceLevelNeutral
Preference level: neutral
|
static int |
sPreferenceLevelPreferred
Preference level: preferred
|
static int |
sPreferenceLevelProhibited
Preference level: prohibited
|
static int |
sPreferenceLevelRequired
Preference level: required
|
static int |
sPreferenceLevelStronglyDiscouraged
Preference level: strongly discouraged
|
static int |
sPreferenceLevelStronglyPreferred
Preference level: strongly preferred
|
static String |
sPreferenceNeutral
Preference: neutral
|
static String |
sPreferencePreferred
Preference: preferred
|
static String |
sPreferenceProhibited
Preference: prohibited
|
static String |
sPreferenceRequired
Preference: required
|
static String |
sPreferenceStronglyDiscouraged
Preference: strongly discouraged
|
static String |
sPreferenceStronglyPreferred
Preference: strongly preferred
|
BLD_NUMBER, REL_DATE, VERSION
Constructor and Description |
---|
Constants() |
Modifier and Type | Method and Description |
---|---|
static int |
preference2preferenceLevel(String prologPref)
Convert preference to preference level
|
static String |
preferenceLevel2preference(int intPref)
Convert preference level to preference
|
static int |
time2slot(int hour,
int min)
Convert time (hour:minute) to time slot
|
getBuildNumber, getReleaseDate, getVersion
public static final int SLOTS_PER_DAY
public static int[] DAY_CODES
public static int DAY_CODE_ALL
public static int DAY_CODE_WEEK
public static int SLOT_LENGTH_MIN
public static int FIRST_SLOT_TIME_MIN
public static int DAY_SLOTS_FIRST
public static int DAY_SLOTS_LAST
public static int SLOTS_PER_DAY_NO_EVENINGS
public static String[] DAY_NAMES_SHORT
public static int NR_DAYS
public static int NR_DAYS_WEEK
public static final String sPreferenceProhibited
public static final String sPreferenceRequired
public static final String sPreferenceStronglyDiscouraged
public static final String sPreferenceDiscouraged
public static final String sPreferencePreferred
public static final String sPreferenceStronglyPreferred
public static final String sPreferenceNeutral
public static final int sPreferenceLevelProhibited
public static final int sPreferenceLevelRequired
public static final int sPreferenceLevelStronglyDiscouraged
public static final int sPreferenceLevelDiscouraged
public static final int sPreferenceLevelPreferred
public static final int sPreferenceLevelStronglyPreferred
public static final int sPreferenceLevelNeutral
public Constants()
public static int preference2preferenceLevel(String prologPref)
public static String preferenceLevel2preference(int intPref)
public static int time2slot(int hour, int min)