module SingaporeCPFCalculator::Year2014
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 2014
# File lib/singapore_cpf_calculator/year_2014.rb, line 18 def applies_to?(date) date.year == 2014 end
Private Class Methods
residency_modules()
click to toggle source
# File lib/singapore_cpf_calculator/year_2014.rb, line 24 def residency_modules [ CitizenOrSPR3, SPR2GG, SPR2FG, SPR1GG, SPR1FG, BeforeSPR, ] end