Show / Hide Table of Contents

Class YearPayrollCycle

Payroll year cycle, implements the IPayrollPeriod

Inheritance
object
YearPayrollCycle
Implements
IPayrollPeriod
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Scripting
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class YearPayrollCycle : IPayrollPeriod

Constructors

View Source

YearPayrollCycle(CultureInfo, Calendar, DateTime)

Declaration
public YearPayrollCycle(CultureInfo culture, Calendar calendar, DateTime moment)
Parameters
Type Name Description
CultureInfo culture
Calendar calendar
DateTime moment
View Source

YearPayrollCycle(CultureInfo, Calendar, int, int)

Initializes a new instance of the YearPayrollCycle class

Declaration
public YearPayrollCycle(CultureInfo culture, Calendar calendar, int year, int month)
Parameters
Type Name Description
CultureInfo culture

The culture

Calendar calendar

The calendar

int year

The year

int month

The month

Properties

View Source

Calendar

The date calendar

Declaration
public Calendar Calendar { get; }
Property Value
Type Description
Calendar
View Source

Culture

The culture

Declaration
public CultureInfo Culture { get; }
Property Value
Type Description
CultureInfo
View Source

End

Declaration
public virtual DateTime End { get; }
Property Value
Type Description
DateTime
View Source

Name

Declaration
public virtual string Name { get; }
Property Value
Type Description
string
View Source

Start

Declaration
public virtual DateTime Start { get; }
Property Value
Type Description
DateTime

Methods

View Source

GetPayrollPeriod(DateTime, int)

Declaration
public virtual IPayrollPeriod GetPayrollPeriod(DateTime moment, int offset = 0)
Parameters
Type Name Description
DateTime moment
int offset
Returns
Type Description
IPayrollPeriod
View Source

ToString()

Returns a string that represents this instance

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents this instance

Overrides
object.ToString()

Implements

IPayrollPeriod

Extension Methods

PayrollPeriodExtensions.GetContinuePeriods(IPayrollPeriod, DateTime, int)
PayrollPeriodExtensions.GetDatePeriod(IPayrollPeriod)
PayrollPeriodExtensions.GetOffsetDatePeriod(IPayrollPeriod, int)
ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
  • View Source
☀
☾
Back to top Generated by DocFX