C# Class Xaye.Fred.Extensions

Utility methods.
Afficher le fichier Open project: cuda/Xaye.Fred

Méthodes publiques

Méthode Description
ToFredDate ( this date ) : System.DateTime

Converts a FRED formatted date string to a DateTime.

ToFredDateString ( this date ) : string

Converts a string to a FRED formated date string.

ToFredDateTime ( this date ) : System.DateTime

Converts a FRED formatted date and time string to a DateTime.

ToFrequency ( this frequency ) : Frequency

Creates a string to a Frequency.

ToString ( AggregationMethod method ) : string

Converts a AggregationMethod to a string.

ToString ( SortOrder order ) : string

Converts a SortOrder to a string.

ToString ( Source orderBy ) : string

Converts a Source.OrderBy to a string.

ToString ( this transformation ) : string

Converts a Transformation to a string.

Method Details

ToFredDate() public static méthode

Converts a FRED formatted date string to a DateTime.
public static ToFredDate ( this date ) : System.DateTime
date this The date string to create the date from.
Résultat System.DateTime

ToFredDateString() public static méthode

Converts a string to a FRED formated date string.
public static ToFredDateString ( this date ) : string
date this The date to convert.
Résultat string

ToFredDateTime() public static méthode

Converts a FRED formatted date and time string to a DateTime.
public static ToFredDateTime ( this date ) : System.DateTime
date this The date and time string to create the date from.
Résultat System.DateTime

ToFrequency() public static méthode

Creates a string to a Frequency.
public static ToFrequency ( this frequency ) : Frequency
frequency this The string to convert.
Résultat Frequency

ToString() public static méthode

Converts a AggregationMethod to a string.
public static ToString ( AggregationMethod method ) : string
method AggregationMethod The aggregation method to convert.
Résultat string

ToString() public static méthode

Converts a SortOrder to a string.
public static ToString ( SortOrder order ) : string
order SortOrder The order to convert.
Résultat string

ToString() public static méthode

Converts a Source.OrderBy to a string.
public static ToString ( Source orderBy ) : string
orderBy Source The Source.OrderBy to convert.
Résultat string

ToString() public static méthode

Converts a Transformation to a string.
public static ToString ( this transformation ) : string
transformation this The transformation to convert.
Résultat string