C# Class Config.Net.TypeParsers.JiraTimeParser

Inheritance: ITypeParser
Afficher le fichier Open project: aloneguid/config

Méthodes publiques

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

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

Method Details

ToRawString() public méthode

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
Résultat string

TryParse() public méthode

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