Esempio n. 1
0
        public static string GetYearlyApprenticeshipMinimumWage(decimal hoursPerWeek, DateTime possibleStartDate)
        {
            NationalMinimumWageRates wageRange = NationalMinimumWageService.GetHourlyRates(possibleStartDate);

            return
                ($"{FormatWageAmount(WageCalculator.GetYearlyRateFromHourlyRate(wageRange.ApprenticeMinimumWage, hoursPerWeek))}");
        }
Esempio n. 2
0
        public static string GetWeeklyNationalMinimumWageMaximum(decimal hoursPerWeek, DateTime possibleStartDate)
        {
            NationalMinimumWageRates wageRange = NationalMinimumWageService.GetHourlyRates(possibleStartDate);

            string higherRange = FormatWageAmount(wageRange.Over25NationalMinimumWage * hoursPerWeek);

            return($"{higherRange}");
        }
Esempio n. 3
0
        private static string GetYearlyNationalMinimumWage(decimal hoursPerWeek, DateTime possibleStartDate)
        {
            NationalMinimumWageRates wageRange = NationalMinimumWageService.GetHourlyRates(possibleStartDate);

            string lowerRange =
                FormatWageAmount(WageCalculator.GetYearlyRateFromHourlyRate(wageRange.Under18NationalMinimumWage, hoursPerWeek));
            string higherRange =
                FormatWageAmount(WageCalculator.GetYearlyRateFromHourlyRate(wageRange.Over25NationalMinimumWage, hoursPerWeek));

            return($"{lowerRange} to {higherRange}");
        }