Ejemplo n.º 1
0
        protected EmployGuides(bool defaultGuides, int validFrom, int validUpto,
                               Int32 weeklyWorkingDays, Int32 dailyWorkingHours) :
            base(defaultGuides, validFrom, validUpto)
        {
            __weeklyWorkingDays = weeklyWorkingDays;

            __dailyWorkingHours = dailyWorkingHours;

            __dailyWorkingSeconds = PeriodOperations.WorkingSecondsDaily(__dailyWorkingHours);

            __weeklyWorkingSeconds = PeriodOperations.WorkingSecondsWeekly(__weeklyWorkingDays, __dailyWorkingHours);
        }
Ejemplo n.º 2
0
        private PeriodGuides(
            uint validYear,
            Int32 weeklyWorkingDays,
            Int32 dailyWorkingHours) : base(validYear)
        {
            __weeklyWorkingDays = weeklyWorkingDays;

            __dailyWorkingHours = dailyWorkingHours;

            __dailyWorkingSeconds = PeriodOperations.WorkingSecondsDaily(__dailyWorkingHours);

            __weeklyWorkingSeconds = PeriodOperations.WorkingSecondsWeekly(__weeklyWorkingDays, __dailyWorkingHours);
        }