C# Class StopWatch.JiraTimeHelpers

Datei anzeigen Open project: carstengehling/jirastopwatch Class Usage Examples

Public Methods

Method Description
DateTimeToJiraDateTime ( DateTimeOffset date ) : string
JiraTimeToTimeSpan ( string time ) : TimeSpan?
TimeSpanToJiraTime ( System.TimeSpan ts ) : string

Method Details

DateTimeToJiraDateTime() public static method

public static DateTimeToJiraDateTime ( DateTimeOffset date ) : string
date DateTimeOffset
return string

JiraTimeToTimeSpan() public static method

public static JiraTimeToTimeSpan ( string time ) : TimeSpan?
time string
return TimeSpan?

TimeSpanToJiraTime() public static method

public static TimeSpanToJiraTime ( System.TimeSpan ts ) : string
ts System.TimeSpan
return string