C# Class Twitter4CS.Util.Extensions

显示文件 Open project: nk0t/Twitter4CS

Public Methods

Method Description
ParseString ( this s ) : string
ToBool ( this s ) : bool
ToDateTime ( this s, string format = "ddd MMM d HH':'mm':'ss zzz yyyy" ) : System.DateTime
ToHyphenSeparatedShortDateString ( this d ) : string
ToInteger ( this s ) : int
ToLong ( this s ) : long
UrlEncode ( this s ) : string

Method Details

ParseString() public static method

public static ParseString ( this s ) : string
s this
return string

ToBool() public static method

public static ToBool ( this s ) : bool
s this
return bool

ToDateTime() public static method

public static ToDateTime ( this s, string format = "ddd MMM d HH':'mm':'ss zzz yyyy" ) : System.DateTime
s this
format string
return System.DateTime

ToHyphenSeparatedShortDateString() public static method

public static ToHyphenSeparatedShortDateString ( this d ) : string
d this
return string

ToInteger() public static method

public static ToInteger ( this s ) : int
s this
return int

ToLong() public static method

public static ToLong ( this s ) : long
s this
return long

UrlEncode() public static method

public static UrlEncode ( this s ) : string
s this
return string