C# Class DwollaApi.Converters.EnUsDateTimeConverter

Converts a date-string in standard en-US (e.g. 8/29/2011 1:17:35 PM) to a DateTime to standard en-US.
Inheritance: Newtonsoft.Json.Converters.DateTimeConverterBase
Afficher le fichier Open project: coreyjonoliver/dwolla-sdk-dotnet

Méthodes publiques

Méthode Description
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object

Reads the JSON representation of the object.

WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Private Methods

Méthode Description
IsNullable ( Type t ) : bool
IsNullableType ( Type t ) : bool

Method Details

ReadJson() public méthode

Reads the JSON representation of the object.
public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader The to read from.
objectType System.Type Type of the object.
existingValue object The existing value of object being read.
serializer Newtonsoft.Json.JsonSerializer The calling serializer.
Résultat object

WriteJson() public méthode

public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter
value object
serializer Newtonsoft.Json.JsonSerializer
Résultat void