Beispiel #1
0
 public static bool IsTimeOfYear(TimeOfYear timeOfYear)
 {
     return(Flags.Check((uint)SeasonCurrent, (uint)timeOfYear, Flags.CheckType.MatchAny));
 }
Beispiel #2
0
 public static bool IsTimeOfDay(TimeOfDay timeOfDay)
 {
     return(Flags.Check((uint)timeOfDay, (uint)gTimeOfDayCurrent, Flags.CheckType.MatchAll));
 }