Classes Files

com::wombat::mama::MamaDayOfWeek

Public Functions

  Name
  MamaDayOfWeek(short day, String name)
String toString()
short getValue()
MamaDayOfWeek getDayForValue(short value)
MamaDayOfWeek getDayForJavaDay(int javaDay)

Public Attributes

  Name
final MamaDayOfWeek SUNDAY
final MamaDayOfWeek MONDAY
final MamaDayOfWeek TUESDAY
final MamaDayOfWeek WEDNESDAY
final MamaDayOfWeek THURSDAY
final MamaDayOfWeek FRIDAY
final MamaDayOfWeek SATURDAY

Public Functions Documentation

function MamaDayOfWeek

inline MamaDayOfWeek(
    short day,
    String name
)

function toString

inline String toString()

function getValue

inline short getValue()

function getDayForValue

static inline MamaDayOfWeek getDayForValue(
    short value
)

function getDayForJavaDay

static inline MamaDayOfWeek getDayForJavaDay(
    int javaDay
)

Public Attributes Documentation

variable SUNDAY

static final MamaDayOfWeek SUNDAY =
        new MamaDayOfWeek ((short) 0, "Sunday");

variable MONDAY

static final MamaDayOfWeek MONDAY =
        new MamaDayOfWeek ((short) 1, "Monday");

variable TUESDAY

static final MamaDayOfWeek TUESDAY =
        new MamaDayOfWeek ((short) 2, "Tuesday");

variable WEDNESDAY

static final MamaDayOfWeek WEDNESDAY =
        new MamaDayOfWeek ((short) 3, "Wednesday");

variable THURSDAY

static final MamaDayOfWeek THURSDAY =
        new MamaDayOfWeek ((short) 4, "Thursday");

variable FRIDAY

static final MamaDayOfWeek FRIDAY =
        new MamaDayOfWeek ((short) 5, "Friday");

variable SATURDAY

static final MamaDayOfWeek SATURDAY =
        new MamaDayOfWeek ((short) 6, "Saturday");

Updated on 2023-03-31 at 15:29:42 +0100