Skip to content

Commit f04e80d

Browse files
committed
Add comment for constant
1 parent 509e27a commit f04e80d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Libraries/src/Amazon.Lambda.Serialization.Json/JsonNumberToDateTimeDataConverter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace Amazon.Lambda.Serialization.Json
1212
/// </summary>
1313
internal class JsonNumberToDateTimeDataConverter : JsonConverter
1414
{
15+
// The number of seconds from DateTime.MinValue to year 5000.
1516
private const long YEAR_5000_IN_SECONDS = 157753180800;
1617
private static readonly TypeInfo DATETIME_TYPEINFO = typeof(DateTime).GetTypeInfo();
1718
private static readonly DateTime EPOCH_DATETIME = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);

Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/DateTimeConverter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
99
/// </summary>
1010
public class DateTimeConverter : JsonConverter<DateTime>
1111
{
12+
// The number of seconds from DateTime.MinValue to year 5000.
1213
private const long YEAR_5000_IN_SECONDS = 157753180800;
1314

1415
/// <summary>

0 commit comments

Comments
 (0)