Exception is thrown in MonoTouch.Dialog.DateTimeElement.CreatePicker()
method because DateTime instance can't be converted to NSDate if
DateTime.Kind is not specified. Side effect of not allowing an implicit
DateTime/NSDateTime conversions.
This Allows users to specify DateTimeKind explicitly from JSON, or via a
static property DateKind from JsonElement and if that is not specified
we just default to DateTime.Kind to be local.
Exception is thrown in MonoTouch.Dialog.DateTimeElement.CreatePicker() method because DateTime instance can't be converted to NSDate if DateTime.Kind is not specified. Side effect of not allowing an implicit DateTime/NSDateTime conversions.
This Allows users to specify DateTimeKind explicitly from JSON, or via a static property
DateKind
from JsonElement and if that is not specified we just default to DateTime.Kind to be local.Example:
kind
accepted values: