SeasonalThemeOverlayViewModel
Decides what the app-wide seasonal overlay shows in one activity: snow or rain, and the holiday greeting.
On creation it first takes off a holiday theme whose holiday has ended, then asks whether a greeting is due. Doing both before anything is shown means the first screen after a holiday is already back in the person's own colors, and a greeting is never offered for a holiday that just finished.
With the WeatherEffect.Automatic weather effect, the default, snow falls only while the Christmas palette is actually on screen. Outside the Christmas season it also needs the easter egg: a person without it who kept the Christmas palette gets the colors, not snow in July. WeatherEffect.Snow and WeatherEffect.Rain fall over every palette, and WeatherEffect.Off lets nothing fall. They are picked from the theme settings' app bar, which only the easter egg opens, so snow and rain on any palette need it too. Rain gives way to snow while the Christmas palette is worn during the Christmas season, and comes back once the season is over.
Failures are reported and never shown: the overlay has nothing to show them on, and each one only means a greeting or a theme change waits for the next activity.
Parameters
Reports how the holiday greeting was answered, and every failure.
Supplies the local date, so tests can pick the season.