diff --git a/Libraries/src/Amazon.Lambda.Serialization.Json/JsonNumberToDateTimeDataConverter.cs b/Libraries/src/Amazon.Lambda.Serialization.Json/JsonNumberToDateTimeDataConverter.cs index 214069f4d..cba7d1e48 100644 --- a/Libraries/src/Amazon.Lambda.Serialization.Json/JsonNumberToDateTimeDataConverter.cs +++ b/Libraries/src/Amazon.Lambda.Serialization.Json/JsonNumberToDateTimeDataConverter.cs @@ -12,6 +12,7 @@ namespace Amazon.Lambda.Serialization.Json /// internal class JsonNumberToDateTimeDataConverter : JsonConverter { + // The number of seconds from DateTime.MinValue to year 5000. private const long YEAR_5000_IN_SECONDS = 157753180800; private static readonly TypeInfo DATETIME_TYPEINFO = typeof(DateTime).GetTypeInfo(); private static readonly DateTime EPOCH_DATETIME = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); diff --git a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs index 1430e62c8..f2b48dd6a 100644 --- a/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs +++ b/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs @@ -9,6 +9,7 @@ namespace Amazon.Lambda.Serialization.SystemTextJson.Converters /// public class DateTimeConverter : JsonConverter { + // The number of seconds from DateTime.MinValue to year 5000. private const long YEAR_5000_IN_SECONDS = 157753180800; ///