C# Class Rf.Sites.Frame.PeriodOfTimeOutput

Exibir arquivo Open project: flq/Rf.Sites Class Usage Examples

Public Methods

Method Description
PeriodOfTimeOutput ( System.DateTime timeInQuestion ) : System
PeriodOfTimeOutput ( System.DateTime thePast, System.DateTime reference ) : System
ToString ( ) : string

Private Methods

Method Description
CreateTheString ( ) : string
advanceTheTimeCursor ( Func nextTime, System.Action uponSuccessfulAdvancement ) : void
dayInflection ( int days ) : string
monthInflection ( int months ) : string
monthTimeToAdd ( ) : System.TimeSpan
weekInflection ( int weeks ) : string
yearInflection ( int years ) : string

Method Details

PeriodOfTimeOutput() public method

public PeriodOfTimeOutput ( System.DateTime timeInQuestion ) : System
timeInQuestion System.DateTime
return System

PeriodOfTimeOutput() public method

public PeriodOfTimeOutput ( System.DateTime thePast, System.DateTime reference ) : System
thePast System.DateTime
reference System.DateTime
return System

ToString() public method

public ToString ( ) : string
return string