Beispiel #1
0
        public override DateTime?ReadAsDateTime()
        {
            if (currentSlice == null)
            {
                SetCurrentFromArray();
            }

            if (currentSlice == null)
            {
                return(null);
            }

            var value = currentSlice.ToDateTime();

            SetToken(JsonToken.Date, value);
            currentSlice = null;
            return(value);
        }