C# Class Smrf.SocialNetworkLib.Twitter.TwitterDateParser

Parses dates received from the Twitter API.
As of July 2010, Twitter uses two date formats: one for the REST API, and another for the search API. This class can parse both formats.

All methods are static.

Mostrar archivo Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
ParseTwitterDate ( String twitterDate ) : String
TryParseTwitterDate ( String twitterDate, System.DateTime &parsedTwitterDate ) : System.Boolean

Method Details

ParseTwitterDate() public static method

public static ParseTwitterDate ( String twitterDate ) : String
twitterDate String
return String

TryParseTwitterDate() public static method

public static TryParseTwitterDate ( String twitterDate, System.DateTime &parsedTwitterDate ) : System.Boolean
twitterDate String
parsedTwitterDate System.DateTime
return System.Boolean