C# 클래스 Sage.SData.Client.Framework.W3CDateTime

파일 보기 프로젝트 열기: Saleslogix/SDataCSharpClientLib 1 사용 예제들

공개 메소드들

메소드 설명
IsNull ( W3CDateTime dateTime ) : bool

Returns a value indicating whether the specified date represents a null date.

Parse ( string s ) : W3CDateTime

Converts the specified string representation of a W3C date and time to its W3CDateTime equivalent.

ToDateString ( ) : string

Converts the value of this instance to its equivalent string representation.

ToString ( ) : string

Converts the value of this instance to its equivalent string representation.

W3CDateTime ( System.DateTime dateTime ) : System

Initializes a new instance of the W3CDateTime class.

W3CDateTime ( System.DateTime dateTime, System.TimeSpan offset ) : System

Initializes a new instance of the W3CDateTime class.

비공개 메소드들

메소드 설명
FormatOffset ( System.TimeSpan offset, string separator ) : string

Converts the value of the specified TimeSpan to its equivalent string representation.

ParseW3COffSet ( string s ) : System.TimeSpan

Converts the specified string representation of an offset to its TimeSpan equivalent.

TryParse ( string date, W3CDateTime &result ) : bool

메소드 상세

IsNull() 공개 정적인 메소드

Returns a value indicating whether the specified date represents a null date.
public static IsNull ( W3CDateTime dateTime ) : bool
dateTime W3CDateTime The that needs to be checked.
리턴 bool

Parse() 공개 정적인 메소드

Converts the specified string representation of a W3C date and time to its W3CDateTime equivalent.
public static Parse ( string s ) : W3CDateTime
s string A string containing a date and time to convert.
리턴 W3CDateTime

ToDateString() 공개 메소드

Converts the value of this instance to its equivalent string representation.
public ToDateString ( ) : string
리턴 string

ToString() 공개 메소드

Converts the value of this instance to its equivalent string representation.
public ToString ( ) : string
리턴 string

W3CDateTime() 공개 메소드

Initializes a new instance of the W3CDateTime class.
public W3CDateTime ( System.DateTime dateTime ) : System
dateTime System.DateTime The datetime to represent in a W3C format.
리턴 System

W3CDateTime() 공개 메소드

Initializes a new instance of the W3CDateTime class.
public W3CDateTime ( System.DateTime dateTime, System.TimeSpan offset ) : System
dateTime System.DateTime The datetime to represent in a W3C format.
offset System.TimeSpan The UTC offest for the datetime.
리턴 System