com.wombat.mama
public class MamaDateTimeHints extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short |
HAS_DATE |
static short |
HAS_TIME |
static short |
NO_TIMEZONE |
Constructor and Description |
---|
MamaDateTimeHints(short hints)
Create hints with the specified mask.
|
Modifier and Type | Method and Description |
---|---|
short |
getHints()
Return the hints mask.
|
boolean |
hasDate()
Return true if HAS_DATE bit set.
|
boolean |
hasHints(MamaDateTimeHints hints)
Return true if mask matches supplied hints
|
boolean |
hasNoTimeZone()
Return true if no timezone bit set.
|
boolean |
hasTime()
Return true if has time bit set.
|
void |
setHasDate(boolean set)
Set or unset the HAS_DATE bit.
|
void |
setHasTime(boolean set)
Set or unset the HAS_TIME bit.
|
void |
setHints(short hints)
Set mask
|
void |
setNoTimezone(boolean set)
Set or unset the NO_TIMEZONE bit.
|
public static final short HAS_DATE
public static final short HAS_TIME
public static final short NO_TIMEZONE
public MamaDateTimeHints(short hints)
hints
- public short getHints()
public boolean hasHints(MamaDateTimeHints hints)
public boolean hasDate()
public boolean hasTime()
public boolean hasNoTimeZone()
public void setHints(short hints)
public void setHasTime(boolean set)
public void setHasDate(boolean set)
public void setNoTimezone(boolean set)
Copyright 2011 NYSE Technologies