20 references to DateTimeOffset
mscorlib (12)
system\datetimeoffset.cs (12)
366
return new
DateTimeOffset
(ClockDateTime.Add(timeSpan), Offset);
376
return new
DateTimeOffset
(ClockDateTime.AddDays(days), Offset);
386
return new
DateTimeOffset
(ClockDateTime.AddHours(hours), Offset);
396
return new
DateTimeOffset
(ClockDateTime.AddMilliseconds(milliseconds), Offset);
406
return new
DateTimeOffset
(ClockDateTime.AddMinutes(minutes), Offset);
410
return new
DateTimeOffset
(ClockDateTime.AddMonths(months), Offset);
420
return new
DateTimeOffset
(ClockDateTime.AddSeconds(seconds), Offset);
428
return new
DateTimeOffset
(ClockDateTime.AddTicks(ticks), Offset);
440
return new
DateTimeOffset
(ClockDateTime.AddYears(years), Offset);
658
return new
DateTimeOffset
(ClockDateTime.Subtract(value), Offset);
838
return new
DateTimeOffset
(dateTimeOffset.ClockDateTime + timeSpan, dateTimeOffset.Offset);
843
return new
DateTimeOffset
(dateTimeOffset.ClockDateTime - timeSpan, dateTimeOffset.Offset);
System (1)
net\System\Net\mail\SmtpDateTime.cs (1)
173
DateTimeOffset offset = new
DateTimeOffset
(this.date, this.timeZone);
System.Data (1)
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
480
return new
DateTimeOffset
((DateTime)argumentValues[0], new TimeSpan((int)argumentValues[1], (int)argumentValues[2], 0));
System.Data.Entity (1)
System\Data\Common\EntitySql\AST\Literal.cs (1)
566
return new
DateTimeOffset
(dateTime, offsetTimeSpan);
System.Runtime.Serialization (1)
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
48
return new
DateTimeOffset
(value.UtcDateTime, new TimeSpan(0, value.OffsetMinutes, 0));
System.Xml (4)
System\Xml\Schema\XsdDateTime.cs (4)
455
result = new
DateTimeOffset
(dt, new TimeSpan(xdt.ZoneHour, xdt.ZoneMinute, 0));
458
result = new
DateTimeOffset
(dt, new TimeSpan(-xdt.ZoneHour, -xdt.ZoneMinute, 0));
461
result = new
DateTimeOffset
(dt, new TimeSpan( 0 ) );
465
result = new
DateTimeOffset
(dt, TimeZoneInfo.Local.GetUtcOffset(dt));