I have four flags
Current = 0x1 Past = 0x2 Future = 0x4 All = 0x7
Say I receive the two flags Past and Future (setFlags(PAST
setFlags(PAST
if ((flags & PAST) == PAST) { // PAST is there } if ((flags & CURRENT) != CURRENT) { // CURRENT is not there }