module SingaporeCPFCalculator::Year2016
Contains the calculators that are used for determining CPF contribution for 2014.
Public Class Methods
applies_to?(date)
click to toggle source
@param [Date] date when the CPF contribution is to be calculated for. @return [true, false] true when the date’s year is within 2016~2022
# File lib/singapore_cpf_calculator/year_2016.rb, line 18 def applies_to?(date) date.year >= 2016 && date.year < 2022 end
Private Class Methods
residency_modules()
click to toggle source
# File lib/singapore_cpf_calculator/year_2016.rb, line 24 def residency_modules [ CitizenOrSPR3, SPR2GG, SPR2FG, SPR1GG, SPR1FG, BeforeSPR, ] end