13 references to Add
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (13)
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)); 741public DateTimeOffset Subtract(TimeSpan value) => Add(ClockDateTime.Subtract(value)); 980dateTimeOffset.Add(dateTimeOffset.ClockDateTime + timeSpan); 983dateTimeOffset.Add(dateTimeOffset.ClockDateTime - timeSpan);