15 references to AddTicks
mscorlib (9)
system\datetime.cs (2)
433
return
AddTicks
(value._ticks);
442
return
AddTicks
(millis * TicksPerMillisecond);
system\datetimeoffset.cs (1)
428
return new DateTimeOffset(ClockDateTime.
AddTicks
(ticks), Offset);
system\globalization\datetimeparse.cs (3)
2529
time = time.
AddTicks
((long)Math.Round(raw.fraction * Calendar.TicksPerSecond));
2837
time = time.
AddTicks
((long)Math.Round(partSecond * Calendar.TicksPerSecond));
4152
result.parsedDate = result.parsedDate.
AddTicks
((long)Math.Round(result.fraction * Calendar.TicksPerSecond));
system\timezoneinfo.cs (3)
1490
endTime = rule.IsEndDateMarkerForEndOfYear() ? new DateTime(daylightTime.End.Year + 1, 1, 1, 0, 0, 0).
AddTicks
(-1) : daylightTime.End;
1512
endTime = rule.IsEndDateMarkerForEndOfYear() ? new DateTime(daylightTime.End.Year + 1, 1, 1, 0, 0, 0).
AddTicks
(-1) : daylightTime.End + (invalidAtStart ? -rule.DaylightDelta : TimeSpan.Zero);
1587
endTime = new DateTime(daylightTime.End.Year + 1, 1, 1, 0, 0, 0).
AddTicks
(-1) - offset - rule.DaylightDelta; ;
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
631
return value.
AddTicks
(ticks / 100);
System.Data.Entity (2)
System\Data\Common\EntitySql\AST\Literal.cs (2)
522
dateTime = dateTime.
AddTicks
(ticks);
562
dateTime = dateTime.
AddTicks
(ticks);
System.Management (1)
ManagementDatetime.cs (1)
196
datetime = datetime.
AddTicks
(ticks);
System.Runtime.Serialization (1)
System\Xml\XmlConverter.cs (1)
826
value = value.
AddTicks
(ticks);
System.Xml (1)
System\Xml\Schema\XsdDateTime.cs (1)
141
dt = dt.
AddTicks
(parser.fraction);