C# Класс NServiceBus.DateTimeExtensions

Common date time extensions.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AddMicroseconds ( this self, int microseconds ) : System.DateTime
Microseconds ( this self ) : int

Описание методов

ToUtcDateTime() публичный статический Метод

Converts a wire formatted string from ToWireFormattedString to a UTC DateTime.
public static ToUtcDateTime ( string wireFormattedString ) : System.DateTime
wireFormattedString string
Результат System.DateTime

ToWireFormattedString() публичный статический Метод

Converts the DateTime to a string suitable for transport over the wire.
public static ToWireFormattedString ( System.DateTime dateTime ) : string
dateTime System.DateTime
Результат string