C# Класс DateFormat, simplexml

The DateFormat provides a synchronized means for using the simple date format object. It ensures that should there be many threads trying to gain access to the formatter that they will not collide causing a race condition.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DateFormat ( String format ) : System.Collections.Generic

Constructor for the DateFormat object. This will wrap a simple date format, providing access to the conversion functions which allow date to string and string to date.

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

Метод Описание
GetDate ( String text ) : Date

This is used to provide a transformation from a string to a date. It ensures that there is a bidirectional transformation process which allows dates to be serialized and deserialized with XML.

GetText ( Date date ) : String

This is used to provide a transformation from a date to a string. It ensures that there is a bidirectional transformation process which allows dates to be serialized and deserialized with XML.

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

DateFormat() публичный Метод

Constructor for the DateFormat object. This will wrap a simple date format, providing access to the conversion functions which allow date to string and string to date.
public DateFormat ( String format ) : System.Collections.Generic
format String /// this is the pattern to use for the date type ///
Результат System.Collections.Generic