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

Inheritance: IComparable, IEquatable
Afficher le fichier Open project: SkillsFundingAgency/das-employerfinance

Méthodes publiques

Méthode 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

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

Method Details

AreSameTaxYear() public méthode

public AreSameTaxYear ( compareTo ) : bool
Résultat bool

CalendarPeriod() public méthode

public CalendarPeriod ( int year, int month ) : System
year int
month int
Résultat System

CompareTo() public méthode

public CompareTo ( compareTo ) : int
Résultat int

Equals() public méthode

public Equals ( other ) : bool
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

operator() public static méthode

public static operator ( ) : bool
Résultat bool