30 lines
585 B
C#
30 lines
585 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using BeWo.Data.Entities;
|
|
using BeWo.Report.ReportObjects;
|
|
|
|
using BS.Shared.Extensions;
|
|
|
|
|
|
namespace BeWo.SKFAlsdorf
|
|
{
|
|
public class CustomMitarbeiterstundenkontoBerechnung : MitarbeiterstundenkontoBerechnung
|
|
{
|
|
|
|
|
|
public override List<DateTime> GetFeiertage(int year)
|
|
{
|
|
var list = base.GetFeiertage(year);
|
|
|
|
list.Add(new DateTime(year, 12, 31));
|
|
|
|
var osterSonntag = GetOsterSonntag(year);
|
|
list.Add(osterSonntag.AddDays(-48)); // "Rosenmontag"
|
|
|
|
return list;
|
|
}
|
|
|
|
}
|
|
}
|