Interface ICalendar
The payroll calendar client object
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface ICalendar : IModel, IAttributeObject, IKeyEquatable<ICalendar>, IEquatable<ICalendar>
Properties
CycleTimeUnit
The cycle time unit (default: year)
Declaration
CalendarTimeUnit CycleTimeUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| CalendarTimeUnit |
FirstDayOfWeek
Override the calendar first day of week
Declaration
DayOfWeek? FirstDayOfWeek { get; set; }
Property Value
| Type | Description |
|---|---|
| DayOfWeek? |
FirstMonthOfYear
The first month of a year (default: january)
Declaration
Month? FirstMonthOfYear { get; set; }
Property Value
| Type | Description |
|---|---|
| Month? |
Name
The calendar name
Declaration
string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NameLocalizations
The localized calendar names
Declaration
Dictionary<string, string> NameLocalizations { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
PeriodDayCount
Override the effective period day count
Declaration
decimal? PeriodDayCount { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal? |
PeriodTimeUnit
The period time unit (default: calendar month)
Declaration
CalendarTimeUnit PeriodTimeUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| CalendarTimeUnit |
TimeMap
The time map (default: period)
Declaration
CalendarTimeMap TimeMap { get; set; }
Property Value
| Type | Description |
|---|---|
| CalendarTimeMap |
WeekMode
The week mode (default: week)
Declaration
CalendarWeekMode WeekMode { get; set; }
Property Value
| Type | Description |
|---|---|
| CalendarWeekMode |
WorkFriday
Work on friday (default: true), used by WorkWeek
Declaration
bool WorkFriday { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WorkMonday
Work on monday (default: true), used by WorkWeek
Declaration
bool WorkMonday { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WorkSaturday
Work on saturday (default: false), used by WorkWeek
Declaration
bool WorkSaturday { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WorkSunday
Work on sunday (default: false), used by WorkWeek
Declaration
bool WorkSunday { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WorkThursday
Work on thursday (default: true), used by WorkWeek
Declaration
bool WorkThursday { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WorkTuesday
Work on tuesday (default: true), used by WorkWeek
Declaration
bool WorkTuesday { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WorkWednesday
Work on wednesday (default: true), used by WorkWeek
Declaration
bool WorkWednesday { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
YearWeekRule
Override the calendar year start week rule
Declaration
CalendarWeekRule? YearWeekRule { get; set; }
Property Value
| Type | Description |
|---|---|
| CalendarWeekRule? |