C# Class CogMon.Services.RRD.RrdUtil

显示文件 Open project: lafar6502/cogmon

Public Methods

Method Description
FromUnixTime ( int ut ) : System.DateTime
IsRelativeRRDDate ( string rrdDate ) : bool
ParseRrdDate ( string rrdDate, int refDate ) : int
ParseRrdDateRange ( string start, string end, System.DateTime &startDate, System.DateTime &endDate ) : bool
ToUnixTime ( System.DateTime dt ) : int

Method Details

FromUnixTime() public static method

public static FromUnixTime ( int ut ) : System.DateTime
ut int
return System.DateTime

IsRelativeRRDDate() public static method

public static IsRelativeRRDDate ( string rrdDate ) : bool
rrdDate string
return bool

ParseRrdDate() public static method

public static ParseRrdDate ( string rrdDate, int refDate ) : int
rrdDate string
refDate int
return int

ParseRrdDateRange() public static method

public static ParseRrdDateRange ( string start, string end, System.DateTime &startDate, System.DateTime &endDate ) : bool
start string
end string
startDate System.DateTime
endDate System.DateTime
return bool

ToUnixTime() public static method

public static ToUnixTime ( System.DateTime dt ) : int
dt System.DateTime
return int