C# Class NanoTimeTracker.Utils

Afficher le fichier Open project: TaoK/NanoTimeTracker

Méthodes publiques

Méthode 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 méthode

public static DecimalHoursToTimeSpan ( double hours ) : System.TimeSpan
hours double
Résultat System.TimeSpan

ExpandPath() public static méthode

public static ExpandPath ( string path, System.DateTime fileDate ) : string
path string
fileDate System.DateTime
Résultat string

ExportFilteredDataTableToCsv() public static méthode

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

FormatDateFullTimeStamp() public static méthode

public static FormatDateFullTimeStamp ( System.DateTime inputDate ) : string
inputDate System.DateTime
Résultat string

FormatTimeSpan() public static méthode

public static FormatTimeSpan ( System.TimeSpan timeSpan ) : string
timeSpan System.TimeSpan
Résultat string

SaveDataSetSafe() public static méthode

public static SaveDataSetSafe ( DataSet targetDataSet, string targetFilePath ) : void
targetDataSet System.Data.DataSet
targetFilePath string
Résultat void