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.
파일 보기 프로젝트 열기: ngallagher/simplexml 1 사용 예제들

공개 메소드들

메소드 설명
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