C# Class Itenso.TimePeriod.TimePeriodCalc

Mostra file Open project: jwg4/date-difference Class Usage Examples

Public Methods

Method Description
GetRelation ( ITimePeriod period, ITimePeriod test ) : PeriodRelation
HasInside ( ITimePeriod period, System.DateTime test ) : bool
HasInside ( ITimePeriod period, ITimePeriod test ) : bool
IntersectsWith ( ITimePeriod period, ITimePeriod test ) : bool
OverlapsWith ( ITimePeriod period, ITimePeriod test ) : bool

Method Details

GetRelation() public static method

public static GetRelation ( ITimePeriod period, ITimePeriod test ) : PeriodRelation
period ITimePeriod
test ITimePeriod
return PeriodRelation

HasInside() public static method

public static HasInside ( ITimePeriod period, System.DateTime test ) : bool
period ITimePeriod
test System.DateTime
return bool

HasInside() public static method

public static HasInside ( ITimePeriod period, ITimePeriod test ) : bool
period ITimePeriod
test ITimePeriod
return bool

IntersectsWith() public static method

public static IntersectsWith ( ITimePeriod period, ITimePeriod test ) : bool
period ITimePeriod
test ITimePeriod
return bool

OverlapsWith() public static method

public static OverlapsWith ( ITimePeriod period, ITimePeriod test ) : bool
period ITimePeriod
test ITimePeriod
return bool