C# 클래스 XSerializer.DefaultDateTimeHandler

The default implementation of IDateTimeHandler. Expects values to be in the "yyyy-MM-ddTHH:mm:ss.fffffffK" format.
상속: IDateTimeHandler
파일 보기 프로젝트 열기: QuickenLoans/XSerializer

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

Determines whether the specified object is equal to the current object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

ParseDateTime ( string value ) : System.DateTime

Parse the given string representation into a DateTime value.

ParseDateTimeOffset ( string value ) : DateTimeOffset

Parse the given string representation into a DateTimeOffset value.

비공개 메소드들

메소드 설명
Adjust ( int &year, int &month, int &day, int &hour, int &minute ) : void
AdvancePastFractionalPart ( int &formatIndex ) : void
GetDateTimeComponents ( string value, int &year, int &month, int &day, int &hour, int &minute, int &second, long &ticks, int &offsetHours, int &offsetMinutes, DateTimeKind &dateTimeKind ) : void
OverflowsMonth ( int day, int month, int year ) : bool
ParseFraction ( string sourceString, int &valueIndex, int &formatIndex ) : double
ParseOffset ( string sourceString, int i, int &offsetHours, int &offsetMinutes, DateTimeKind &dateTimeKind ) : void
ThrowIfNotDigit ( char c, int i, string sourceString, string dateTimePart ) : void

메소드 상세

Equals() 공개 메소드

Determines whether the specified object is equal to the current object.
public Equals ( object obj ) : bool
obj object /// The to compare with the current . ///
리턴 bool

GetHashCode() 공개 메소드

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
리턴 int

ParseDateTime() 공개 메소드

Parse the given string representation into a DateTime value.
public ParseDateTime ( string value ) : System.DateTime
value string A string representation of a date time.
리턴 System.DateTime

ParseDateTimeOffset() 공개 메소드

Parse the given string representation into a DateTimeOffset value.
public ParseDateTimeOffset ( string value ) : DateTimeOffset
value string A string representation of a date time.
리턴 DateTimeOffset