C# Class Tp.Components.DateHelper

Datei anzeigen Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
EndOfDay ( this date ) : System.DateTime
GetDatesByMinAndMax ( System.DateTime minDate, System.DateTime maxDate, int countOfDates ) : List
GetMonthEndDate ( this date ) : System.DateTime
GetMonthFirstDate ( this processDate ) : System.DateTime
ParseDate ( this date, System.DateTime today ) : System.DateTime
SameMonthAs ( this processDate, System.DateTime processDate1 ) : bool
SameWeekAs ( this processDate, System.DateTime processDate1 ) : bool
StartOfDay ( this processDate ) : System.DateTime

Method Details

EndOfDay() public static method

public static EndOfDay ( this date ) : System.DateTime
date this
return System.DateTime

GetDatesByMinAndMax() public static method

public static GetDatesByMinAndMax ( System.DateTime minDate, System.DateTime maxDate, int countOfDates ) : List
minDate System.DateTime
maxDate System.DateTime
countOfDates int
return List

GetMonthEndDate() public static method

public static GetMonthEndDate ( this date ) : System.DateTime
date this
return System.DateTime

GetMonthFirstDate() public static method

public static GetMonthFirstDate ( this processDate ) : System.DateTime
processDate this
return System.DateTime

ParseDate() public static method

public static ParseDate ( this date, System.DateTime today ) : System.DateTime
date this
today System.DateTime
return System.DateTime

SameMonthAs() public static method

public static SameMonthAs ( this processDate, System.DateTime processDate1 ) : bool
processDate this
processDate1 System.DateTime
return bool

SameWeekAs() public static method

public static SameWeekAs ( this processDate, System.DateTime processDate1 ) : bool
processDate this
processDate1 System.DateTime
return bool

StartOfDay() public static method

public static StartOfDay ( this processDate ) : System.DateTime
processDate this
return System.DateTime