13 references to Add
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (13)
447
public DateTimeOffset Add(TimeSpan timeSpan) =>
Add
(ClockDateTime.Add(timeSpan));
455
public DateTimeOffset AddDays(double days) =>
Add
(ClockDateTime.AddDays(days));
463
public DateTimeOffset AddHours(double hours) =>
Add
(ClockDateTime.AddHours(hours));
471
public DateTimeOffset AddMilliseconds(double milliseconds) =>
Add
(ClockDateTime.AddMilliseconds(milliseconds));
497
public DateTimeOffset AddMicroseconds(double microseconds) =>
Add
(ClockDateTime.AddMicroseconds(microseconds));
505
public DateTimeOffset AddMinutes(double minutes) =>
Add
(ClockDateTime.AddMinutes(minutes));
507
public DateTimeOffset AddMonths(int months) =>
Add
(ClockDateTime.AddMonths(months));
515
public DateTimeOffset AddSeconds(double seconds) =>
Add
(ClockDateTime.AddSeconds(seconds));
521
public DateTimeOffset AddTicks(long ticks) =>
Add
(ClockDateTime.AddTicks(ticks));
531
public DateTimeOffset AddYears(int years) =>
Add
(ClockDateTime.AddYears(years));
741
public DateTimeOffset Subtract(TimeSpan value) =>
Add
(ClockDateTime.Subtract(value));
980
dateTimeOffset.
Add
(dateTimeOffset.ClockDateTime + timeSpan);
983
dateTimeOffset.
Add
(dateTimeOffset.ClockDateTime - timeSpan);