C# 클래스 BridgeStack.UnixTimeSpanHelpers

Time Span helpers to assist in JSON deserialization.
파일 보기 프로젝트 열기: bevacqua/BridgeStack

공개 메소드들

메소드 설명
AsUnixTime ( this self ) : System.TimeSpan

Parses a long representation of an Unix TimeSpan into a TimeSpan.

ToUnixTime ( this self ) : long

Parses a TimeSpan into it's long representation in Unix Date format.

메소드 상세

AsUnixTime() 공개 정적인 메소드

Parses a long representation of an Unix TimeSpan into a TimeSpan.
public static AsUnixTime ( this self ) : System.TimeSpan
self this The long representation of an Unix TimeSpan.
리턴 System.TimeSpan

ToUnixTime() 공개 정적인 메소드

Parses a TimeSpan into it's long representation in Unix Date format.
public static ToUnixTime ( this self ) : long
self this The TimeSpan object to parse.
리턴 long