C# Class Itenso.TimePeriod.CalendarTimeRange

Inheritance: TimeRange, ICalendarTimeRange
Datei anzeigen Open project: jwg4/date-difference Class Usage Examples

Public Methods

Method Description
CalendarTimeRange ( System.DateTime start, System.DateTime end ) : System
CalendarTimeRange ( System.DateTime start, System.DateTime end, ITimeCalendar calendar ) : System
CalendarTimeRange ( System.DateTime start, System.TimeSpan duration ) : System
CalendarTimeRange ( System.DateTime start, System.TimeSpan duration, ITimeCalendar calendar ) : System
CalendarTimeRange ( ITimePeriod period ) : System
CalendarTimeRange ( ITimePeriod period, ITimeCalendar calendar ) : System
Copy ( System.TimeSpan offset ) : ITimeRange

Protected Methods

Method Description
ComputeHashCode ( ) : int
Format ( ITimeFormatter formatter ) : string
IsEqual ( object obj ) : bool

Private Methods

Method Description
HasSameData ( CalendarTimeRange comp ) : bool
ToCalendarTimeRange ( ITimePeriod period, ITimePeriodMapper mapper ) : TimeRange

Method Details

CalendarTimeRange() public method

public CalendarTimeRange ( System.DateTime start, System.DateTime end ) : System
start System.DateTime
end System.DateTime
return System

CalendarTimeRange() public method

public CalendarTimeRange ( System.DateTime start, System.DateTime end, ITimeCalendar calendar ) : System
start System.DateTime
end System.DateTime
calendar ITimeCalendar
return System

CalendarTimeRange() public method

public CalendarTimeRange ( System.DateTime start, System.TimeSpan duration ) : System
start System.DateTime
duration System.TimeSpan
return System

CalendarTimeRange() public method

public CalendarTimeRange ( System.DateTime start, System.TimeSpan duration, ITimeCalendar calendar ) : System
start System.DateTime
duration System.TimeSpan
calendar ITimeCalendar
return System

CalendarTimeRange() public method

public CalendarTimeRange ( ITimePeriod period ) : System
period ITimePeriod
return System

CalendarTimeRange() public method

public CalendarTimeRange ( ITimePeriod period, ITimeCalendar calendar ) : System
period ITimePeriod
calendar ITimeCalendar
return System

ComputeHashCode() protected method

protected ComputeHashCode ( ) : int
return int

Copy() public method

public Copy ( System.TimeSpan offset ) : ITimeRange
offset System.TimeSpan
return ITimeRange

Format() protected method

protected Format ( ITimeFormatter formatter ) : string
formatter ITimeFormatter
return string

IsEqual() protected method

protected IsEqual ( object obj ) : bool
obj object
return bool