Show / Hide Table of Contents

Class WeekPayrollPeriod

Payroll week period, implements the IPayrollPeriod

Inheritance
object
WeekPayrollPeriod
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 WeekPayrollPeriod : IPayrollPeriod

Constructors

View Source

WeekPayrollPeriod(CultureInfo, Calendar, DateTime)

Initializes a new instance of the WeekPayrollPeriod class

Declaration
public WeekPayrollPeriod(CultureInfo culture, Calendar calendar, DateTime moment)
Parameters
Type Name Description
CultureInfo culture

The culture

Calendar calendar

The calendar

DateTime moment

The moment

View Source

WeekPayrollPeriod(CultureInfo, Calendar, int, int, int)

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

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
View Source

WeekOfYear

Gets the week of year

Declaration
public int WeekOfYear { get; }
Property Value
Type Description
int

Methods

View Source

GetPayrollPeriod(DateTime, int)

Declaration
public 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