C# 클래스 DynamicJson.AspTools

provides tools to work nicely in a ASP environment
파일 보기 프로젝트 열기: pieterbreed/Dynamic-Json-for-.NET

공개 메소드들

메소드 설명
ParseStringToDateTime ( JsonString str ) : DateTime

parses a string in the format '\/Date(700000+0500)\/' to a datetime value.

SerializeDateTimeToString ( DateTime d ) : string
StringIsDate ( string s ) : bool

메소드 상세

ParseStringToDateTime() 공개 정적인 메소드

parses a string in the format '\/Date(700000+0500)\/' to a datetime value.
throws a AspDateTimeException if the str is not in the correct format thrown if str is null
public static ParseStringToDateTime ( JsonString str ) : DateTime
str JsonString must be a non-null, valid serialized datetime string
리턴 DateTime

SerializeDateTimeToString() 공개 정적인 메소드

public static SerializeDateTimeToString ( DateTime d ) : string
d DateTime
리턴 string

StringIsDate() 공개 정적인 메소드

public static StringIsDate ( string s ) : bool
s string
리턴 bool