src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (32)
334public DateTime DateTime => ClockDateTime;
355public DateTime Date => ClockDateTime.Date;
360public int Day => ClockDateTime.Day;
367public DayOfWeek DayOfWeek => ClockDateTime.DayOfWeek;
372public int DayOfYear => ClockDateTime.DayOfYear;
377public int Hour => ClockDateTime.Hour;
407public int Minute => ClockDateTime.Minute;
412public int Month => ClockDateTime.Month;
430public long Ticks => ClockDateTime.Ticks;
437public TimeSpan TimeOfDay => ClockDateTime.TimeOfDay;
442public int Year => ClockDateTime.Year;
447public DateTimeOffset Add(TimeSpan timeSpan) => Add(ClockDateTime.Add(timeSpan));
455public DateTimeOffset AddDays(double days) => Add(ClockDateTime.AddDays(days));
463public DateTimeOffset AddHours(double hours) => Add(ClockDateTime.AddHours(hours));
471public DateTimeOffset AddMilliseconds(double milliseconds) => Add(ClockDateTime.AddMilliseconds(milliseconds));
497public DateTimeOffset AddMicroseconds(double microseconds) => Add(ClockDateTime.AddMicroseconds(microseconds));
505public DateTimeOffset AddMinutes(double minutes) => Add(ClockDateTime.AddMinutes(minutes));
507public DateTimeOffset AddMonths(int months) => Add(ClockDateTime.AddMonths(months));
515public DateTimeOffset AddSeconds(double seconds) => Add(ClockDateTime.AddSeconds(seconds));
521public DateTimeOffset AddTicks(long ticks) => Add(ClockDateTime.AddTicks(ticks));
531public DateTimeOffset AddYears(int years) => Add(ClockDateTime.AddYears(years));
618ValidateDate(ClockDateTime, Offset);
741public DateTimeOffset Subtract(TimeSpan value) => Add(ClockDateTime.Subtract(value));
793DateTimeFormat.Format(ClockDateTime, null, null, Offset);
796DateTimeFormat.Format(ClockDateTime, format, null, Offset);
799DateTimeFormat.Format(ClockDateTime, null, formatProvider, Offset);
802DateTimeFormat.Format(ClockDateTime, format, formatProvider, Offset);
805DateTimeFormat.TryFormat(ClockDateTime, destination, out charsWritten, format, formatProvider, Offset);
809DateTimeFormat.TryFormat(ClockDateTime, utf8Destination, out bytesWritten, format, formatProvider, Offset);
980dateTimeOffset.Add(dateTimeOffset.ClockDateTime + timeSpan);
983dateTimeOffset.Add(dateTimeOffset.ClockDateTime - timeSpan);
1025(date, time) = ClockDateTime;