Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save thomasfenaroli-wf/6db05f51caf4e3f3cf561985e84dc5ae to your computer and use it in GitHub Desktop.

Select an option

Save thomasfenaroli-wf/6db05f51caf4e3f3cf561985e84dc5ae to your computer and use it in GitHub Desktop.
public class IraContributionLimitCalculator {
@ValidUntil(
author = "TRADING_PRODUCTS_TEAM",
staleAt = "2025-12-01",
expiredAt = "2026-01-01",
message = "Add IRA contribution limit for 2026"
)
private static final RangeMap<Year, Money> yearToIraContributionLimit = ImmutableRangeMap.<Year, Money>builder()
.put(atMost(year(2021)), money(6000))
.put(range(year(2022), BoundType.CLOSED, year(2025), BoundType.CLOSED), money(7000))
.build();
public static RangeMap<Year, Money> getYearToIraContributionLimit() {
return yearToIraContributionLimit;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment