C# Class NanoTimeTracker.Utils

ファイルを表示 Open project: TaoK/NanoTimeTracker

Public Methods

Method Description
DecimalHoursToTimeSpan ( double hours ) : System.TimeSpan
ExpandPath ( string path, System.DateTime fileDate ) : string
ExportFilteredDataTableToCsv ( DataTable targetDataTable, string targetFilePath, string filterString ) : void
FormatDateFullTimeStamp ( System.DateTime inputDate ) : string
FormatTimeSpan ( System.TimeSpan timeSpan ) : string
SaveDataSetSafe ( DataSet targetDataSet, string targetFilePath ) : void

Method Details

DecimalHoursToTimeSpan() public static method

public static DecimalHoursToTimeSpan ( double hours ) : System.TimeSpan
hours double
return System.TimeSpan

ExpandPath() public static method

public static ExpandPath ( string path, System.DateTime fileDate ) : string
path string
fileDate System.DateTime
return string

ExportFilteredDataTableToCsv() public static method

public static ExportFilteredDataTableToCsv ( DataTable targetDataTable, string targetFilePath, string filterString ) : void
targetDataTable System.Data.DataTable
targetFilePath string
filterString string
return void

FormatDateFullTimeStamp() public static method

public static FormatDateFullTimeStamp ( System.DateTime inputDate ) : string
inputDate System.DateTime
return string

FormatTimeSpan() public static method

public static FormatTimeSpan ( System.TimeSpan timeSpan ) : string
timeSpan System.TimeSpan
return string

SaveDataSetSafe() public static method

public static SaveDataSetSafe ( DataSet targetDataSet, string targetFilePath ) : void
targetDataSet System.Data.DataSet
targetFilePath string
return void