C# 클래스 System.Xml.Schema.XsdDateTime

This structure extends System.DateTime to support timeInTicks zone and Gregorian types scomponents of an Xsd Duration. It is used internally to support Xsd durations without loss of fidelity. XsdDuration structures are immutable once they've been created.
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetZuluDateTime System.DateTime
InitiateXsdDateTime void
IntToCharArray void
PrintDate void
PrintTime void
PrintZone void
ShortToCharArray void
TryParse bool
XsdDateTime System

공개 메소드들

메소드 설명
Compare ( XsdDateTime left, XsdDateTime right ) : int

Compares two DateTime values, returning an integer that indicates their relationship.

CompareTo ( Object value ) : int
ToString ( ) : string

Serialization to a string

ToZulu ( ) : System.DateTime
XsdDateTime ( System.DateTime dateTime, XsdDateTimeFlags kinds ) : System

Constructs an XsdDateTime from a DateTime.

XsdDateTime ( string text ) : System

Constructs an XsdDateTime from a string trying all possible formats.

XsdDateTime ( string text, XsdDateTimeFlags kinds ) : System

Constructs an XsdDateTime from a string using specific format.

비공개 메소드들

메소드 설명
GetZuluDateTime ( ) : System.DateTime
InitiateXsdDateTime ( Parser parser ) : void
IntToCharArray ( char text, int start, int value, int digits ) : void
PrintDate ( StringBuilder sb ) : void
PrintTime ( StringBuilder sb ) : void
PrintZone ( StringBuilder sb ) : void
ShortToCharArray ( char text, int start, int value ) : void
TryParse ( string text, XsdDateTimeFlags kinds, XsdDateTime &result ) : bool
XsdDateTime ( Parser parser ) : System

메소드 상세

Compare() 공개 정적인 메소드

Compares two DateTime values, returning an integer that indicates their relationship.
public static Compare ( XsdDateTime left, XsdDateTime right ) : int
left XsdDateTime
right XsdDateTime
리턴 int

CompareTo() 공개 메소드

public CompareTo ( Object value ) : int
value Object
리턴 int

ToString() 공개 메소드

Serialization to a string
public ToString ( ) : string
리턴 string

ToZulu() 공개 메소드

public ToZulu ( ) : System.DateTime
리턴 System.DateTime

XsdDateTime() 공개 메소드

Constructs an XsdDateTime from a DateTime.
public XsdDateTime ( System.DateTime dateTime, XsdDateTimeFlags kinds ) : System
dateTime System.DateTime
kinds XsdDateTimeFlags
리턴 System

XsdDateTime() 공개 메소드

Constructs an XsdDateTime from a string trying all possible formats.
public XsdDateTime ( string text ) : System
text string
리턴 System

XsdDateTime() 공개 메소드

Constructs an XsdDateTime from a string using specific format.
public XsdDateTime ( string text, XsdDateTimeFlags kinds ) : System
text string
kinds XsdDateTimeFlags
리턴 System