C# Class NServiceBus.DateTimeExtensions

Common date time extensions.
Afficher le fichier Open project: Particular/NServiceBus Class Usage Examples

Méthodes publiques

Méthode Description
ToUtcDateTime ( string wireFormattedString ) : System.DateTime

Converts a wire formatted string from ToWireFormattedString to a UTC DateTime.

ToWireFormattedString ( System.DateTime dateTime ) : string

Converts the DateTime to a string suitable for transport over the wire.

Private Methods

Méthode Description
AddMicroseconds ( this self, int microseconds ) : System.DateTime
Microseconds ( this self ) : int

Method Details

ToUtcDateTime() public static méthode

Converts a wire formatted string from ToWireFormattedString to a UTC DateTime.
public static ToUtcDateTime ( string wireFormattedString ) : System.DateTime
wireFormattedString string
Résultat System.DateTime

ToWireFormattedString() public static méthode

Converts the DateTime to a string suitable for transport over the wire.
public static ToWireFormattedString ( System.DateTime dateTime ) : string
dateTime System.DateTime
Résultat string