C# 클래스 ServiceStack.Text.DateTimeExtensions

A fast, standards-based, serialization-issue free DateTime serailizer.
파일 보기 프로젝트 열기: ServiceStack/ServiceStack.Text

공개 메소드들

메소드 설명
EndOfLastMonth ( this from ) : System.DateTime
FmtSortableDate ( this from ) : string
FmtSortableDateTime ( this from ) : string
FromShortestXsdDateTimeString ( this xsdDateTime ) : System.DateTime
FromTimeOffsetString ( this offsetString ) : System.TimeSpan
FromUnixTime ( this unixTime ) : System.DateTime
FromUnixTimeMs ( string msSince1970 ) : System.DateTime
FromUnixTimeMs ( string msSince1970, System.TimeSpan offset ) : System.DateTime
FromUnixTimeMs ( this msSince1970 ) : System.DateTime
FromUnixTimeMs ( this msSince1970, System.TimeSpan offset ) : System.DateTime
IsEqualToTheSecond ( this dateTime, System.DateTime otherDateTime ) : bool
LastMonday ( this from ) : System.DateTime
RoundToMs ( this dateTime ) : System.DateTime
RoundToSecond ( this dateTime ) : System.DateTime
StartOfLastMonth ( this from ) : System.DateTime
ToShortestXsdDateTimeString ( this dateTime ) : string
ToStableUniversalTime ( this dateTime ) : System.DateTime
ToTimeOffsetString ( this offset, string seperator = "" ) : string
ToUnixTime ( this dateTime ) : long
ToUnixTimeMs ( this dateTime ) : long
ToUnixTimeMsAlt ( this dateTime ) : long
Truncate ( this dateTime, System.TimeSpan timeSpan ) : System.DateTime

비공개 메소드들

메소드 설명
ToDateTimeSinceUnixEpoch ( this dateTime ) : System.TimeSpan

메소드 상세

EndOfLastMonth() 공개 정적인 메소드

public static EndOfLastMonth ( this from ) : System.DateTime
from this
리턴 System.DateTime

FmtSortableDate() 공개 정적인 메소드

public static FmtSortableDate ( this from ) : string
from this
리턴 string

FmtSortableDateTime() 공개 정적인 메소드

public static FmtSortableDateTime ( this from ) : string
from this
리턴 string

FromShortestXsdDateTimeString() 공개 정적인 메소드

public static FromShortestXsdDateTimeString ( this xsdDateTime ) : System.DateTime
xsdDateTime this
리턴 System.DateTime

FromTimeOffsetString() 공개 정적인 메소드

public static FromTimeOffsetString ( this offsetString ) : System.TimeSpan
offsetString this
리턴 System.TimeSpan

FromUnixTime() 공개 정적인 메소드

public static FromUnixTime ( this unixTime ) : System.DateTime
unixTime this
리턴 System.DateTime

FromUnixTimeMs() 공개 정적인 메소드

public static FromUnixTimeMs ( string msSince1970 ) : System.DateTime
msSince1970 string
리턴 System.DateTime

FromUnixTimeMs() 공개 정적인 메소드

public static FromUnixTimeMs ( string msSince1970, System.TimeSpan offset ) : System.DateTime
msSince1970 string
offset System.TimeSpan
리턴 System.DateTime

FromUnixTimeMs() 공개 정적인 메소드

public static FromUnixTimeMs ( this msSince1970 ) : System.DateTime
msSince1970 this
리턴 System.DateTime

FromUnixTimeMs() 공개 정적인 메소드

public static FromUnixTimeMs ( this msSince1970, System.TimeSpan offset ) : System.DateTime
msSince1970 this
offset System.TimeSpan
리턴 System.DateTime

IsEqualToTheSecond() 공개 정적인 메소드

public static IsEqualToTheSecond ( this dateTime, System.DateTime otherDateTime ) : bool
dateTime this
otherDateTime System.DateTime
리턴 bool

LastMonday() 공개 정적인 메소드

public static LastMonday ( this from ) : System.DateTime
from this
리턴 System.DateTime

RoundToMs() 공개 정적인 메소드

public static RoundToMs ( this dateTime ) : System.DateTime
dateTime this
리턴 System.DateTime

RoundToSecond() 공개 정적인 메소드

public static RoundToSecond ( this dateTime ) : System.DateTime
dateTime this
리턴 System.DateTime

StartOfLastMonth() 공개 정적인 메소드

public static StartOfLastMonth ( this from ) : System.DateTime
from this
리턴 System.DateTime

ToShortestXsdDateTimeString() 공개 정적인 메소드

public static ToShortestXsdDateTimeString ( this dateTime ) : string
dateTime this
리턴 string

ToStableUniversalTime() 공개 정적인 메소드

public static ToStableUniversalTime ( this dateTime ) : System.DateTime
dateTime this
리턴 System.DateTime

ToTimeOffsetString() 공개 정적인 메소드

public static ToTimeOffsetString ( this offset, string seperator = "" ) : string
offset this
seperator string
리턴 string

ToUnixTime() 공개 정적인 메소드

public static ToUnixTime ( this dateTime ) : long
dateTime this
리턴 long

ToUnixTimeMs() 공개 정적인 메소드

public static ToUnixTimeMs ( this dateTime ) : long
dateTime this
리턴 long

ToUnixTimeMsAlt() 공개 정적인 메소드

public static ToUnixTimeMsAlt ( this dateTime ) : long
dateTime this
리턴 long

Truncate() 공개 정적인 메소드

public static Truncate ( this dateTime, System.TimeSpan timeSpan ) : System.DateTime
dateTime this
timeSpan System.TimeSpan
리턴 System.DateTime