Package mekhq.campaign.randomEvents
Class GrayMonday
java.lang.Object
mekhq.campaign.randomEvents.GrayMonday
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isGrayMonday
(LocalDate today, boolean isUseGrayMonday) Determines whether the current date falls within the Gray Monday event period.
-
Field Details
-
EVENT_DATE_CLARION_NOTE
-
EVENT_DATE_GRAY_MONDAY
-
-
Constructor Details
-
GrayMonday
-
-
Method Details
-
isGrayMonday
Determines whether the current date falls within the Gray Monday event period.This method checks if the Gray Monday event is enabled and whether the given date falls within the defined period of the Gray Monday event.
- Parameters:
today
- The current date as aLocalDate
object.isUseGrayMonday
- Aboolean
flag indicating whether the campaign is tracking Gray Monday.- Returns:
true
if Gray Monday is active for the given date and campaign configuration,false
otherwise.
-