Classes Files

com::wombat::mama::MamaDateTimeHints

More…

Public Functions

  Name
  MamaDateTimeHints(short hints)
short getHints()
boolean hasHints(MamaDateTimeHints hints)
boolean hasDate()
boolean hasTime()
boolean hasNoTimeZone()
void setHints(short hints)
void setHasTime(boolean set)
void setHasDate(boolean set)
void setNoTimezone(boolean set)

Public Attributes

  Name
final short HAS_DATE
final short HAS_TIME
final short NO_TIMEZONE

Detailed Description

class com::wombat::mama::MamaDateTimeHints;

Bit masks for hints.

Public Functions Documentation

function MamaDateTimeHints

inline MamaDateTimeHints(
    short hints
)

Parameters:

  • hints

Create hints with the specified mask.

function getHints

inline short getHints()

Return: The mask.

Return the hints mask.

function hasHints

inline boolean hasHints(
    MamaDateTimeHints hints
)

Return true if mask matches supplied hints

function hasDate

inline boolean hasDate()

Return true if HAS_DATE bit set.

function hasTime

inline boolean hasTime()

Return true if has time bit set.

function hasNoTimeZone

inline boolean hasNoTimeZone()

Return true if no timezone bit set.

function setHints

inline void setHints(
    short hints
)

Set mask

function setHasTime

inline void setHasTime(
    boolean set
)

Set or unset the HAS_TIME bit.

function setHasDate

inline void setHasDate(
    boolean set
)

Set or unset the HAS_DATE bit.

function setNoTimezone

inline void setNoTimezone(
    boolean set
)

Set or unset the NO_TIMEZONE bit.

Public Attributes Documentation

variable HAS_DATE

static final short HAS_DATE = 0x01;

variable HAS_TIME

static final short HAS_TIME = 0x02;

variable NO_TIMEZONE

static final short NO_TIMEZONE = 0x04;

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