8 references to ValidateDate
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (8)
81public DateTimeOffset(long ticks, TimeSpan offset) : this(ValidateOffset(offset), ValidateDate(new DateTime(ticks), offset)) 85private static DateTimeOffset CreateValidateOffset(DateTime dateTime, TimeSpan offset) => new DateTimeOffset(ValidateOffset(offset), ValidateDate(dateTime, offset)); 96_dateTime = ValidateDate(dateTime, offset); 125_dateTime = ValidateDate(dateTime, offset); 147_dateTime = ValidateDate(new DateTime(year, month, day, hour, minute, second), offset); 182_dateTime = ValidateDate(calendar.ToDateTime(year, month, day, hour, minute, second, millisecond), offset); 533private DateTimeOffset Add(DateTime dateTime) => new DateTimeOffset(_offsetMinutes, ValidateDate(dateTime, Offset)); 618ValidateDate(ClockDateTime, Offset);