C# Class Config.Net.TypeParsers.JiraTimeParser

Inheritance: ITypeParser
ファイルを表示 Open project: aloneguid/config

Public Methods

Method Description
ToRawString ( object value ) : string

This method returns human readable string for a given JiraTime. Currently we have no way of identifying string values which are parsed in TryParse method so we can only return basic human readable string value from ToRawString method.

TryParse ( string value, Type t, object &result ) : bool

Private Methods

Method Description
GetFormatString ( System.TimeSpan formatTimeSpan, TimeSpanComponents components ) : string
GetValue ( Match m, string groupName ) : int
ToDetailedString ( System.TimeSpan timeSpan ) : string

Method Details

ToRawString() public method

This method returns human readable string for a given JiraTime. Currently we have no way of identifying string values which are parsed in TryParse method so we can only return basic human readable string value from ToRawString method.
public ToRawString ( object value ) : string
value object JiraTime value
return string

TryParse() public method

public TryParse ( string value, Type t, object &result ) : bool
value string
t System.Type
result object
return bool