public UTCDateTimeConverter(IDateTimeHelper dateTimeHelper, DateTimeConverterBase innerConverter) { Guard.NotNull(innerConverter, nameof(innerConverter)); _dateTimeHelper = dateTimeHelper; _innerConverter = innerConverter; }
public UTCDateTimeConverter(IDateTimeHelper dateTimeHelper, DateTimeConverterBase innerConverter) { Guard.ArgumentNotNull(() => innerConverter); _dateTimeHelper = dateTimeHelper; _innerConverter = innerConverter; }
public SplitDateTimeJsonConverter(DateTimeConverterBase fallbackConverter) { this.fallbackConverter = fallbackConverter; }
public CustomDateTimeConverter(string dateFormat = null, DateTimeConverterBase innerConverter = null) { this.dateFormat = dateFormat; this.innerConverter = innerConverter ?? new IsoDateTimeConverter(); }