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) |
Name | |
---|---|
final short | HAS_DATE |
final short | HAS_TIME |
final short | NO_TIMEZONE |
class com::wombat::mama::MamaDateTimeHints;
Bit masks for hints.
inline MamaDateTimeHints(
short hints
)
Parameters:
Create hints with the specified mask.
inline short getHints()
Return: The mask.
Return the hints mask.
inline boolean hasHints(
MamaDateTimeHints hints
)
Return true if mask matches supplied hints
inline boolean hasDate()
Return true if HAS_DATE bit set.
inline boolean hasTime()
Return true if has time bit set.
inline boolean hasNoTimeZone()
Return true if no timezone bit set.
inline void setHints(
short hints
)
Set mask
inline void setHasTime(
boolean set
)
Set or unset the HAS_TIME bit.
inline void setHasDate(
boolean set
)
Set or unset the HAS_DATE bit.
inline void setNoTimezone(
boolean set
)
Set or unset the NO_TIMEZONE bit.
static final short HAS_DATE = 0x01;
static final short HAS_TIME = 0x02;
static final short NO_TIMEZONE = 0x04;
Updated on 2023-03-31 at 15:29:42 +0100