C# Class SFA.DAS.EmployerFinance.Types.Models.CalendarPeriod

Inheritance: IComparable, IEquatable
Datei anzeigen Open project: SkillsFundingAgency/das-employerfinance

Public Methods

Method Description
AreSameTaxYear ( compareTo ) : bool
CalendarPeriod ( int year, int month ) : System
CompareTo ( compareTo ) : int
Equals ( other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
operator ( ) : bool

Private Methods

Method Description
CheckPeriodsAreInSameTaxYear ( DateTime firstPeriod, DateTime secondPeriod ) : bool
Compare ( calendarPeriod1, calendarPeriod2 ) : int
GetTaxYearFromDate ( DateTime firstPeriod ) : int
GetTaxYearFromTransactionDate ( DateTime transactionDate ) : DateTime

Method Details

AreSameTaxYear() public method

public AreSameTaxYear ( compareTo ) : bool
return bool

CalendarPeriod() public method

public CalendarPeriod ( int year, int month ) : System
year int
month int
return System

CompareTo() public method

public CompareTo ( compareTo ) : int
return int

Equals() public method

public Equals ( other ) : bool
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

operator() public static method

public static operator ( ) : bool
return bool