4 writes to _dt
System.Private.Xml (4)
System\Xml\Schema\XsdDateTime.cs (4)
145
_dt
= new DateTime(parser.year, parser.month, parser.day, parser.hour, parser.minute, parser.second);
148
_dt
= _dt.AddTicks(parser.fraction);
171
_dt
= dateTime;
216
_dt
= dateTimeOffset.DateTime;
17 references to _dt
System.Private.Xml (17)
System\Xml\Schema\XsdDateTime.cs (17)
148
_dt =
_dt
.AddTicks(parser.fraction);
268
get { return
_dt
.Year; }
277
get { return
_dt
.Month; }
286
get { return
_dt
.Day; }
295
get { return
_dt
.Hour; }
304
get { return
_dt
.Minute; }
313
get { return
_dt
.Second; }
322
get { return (int)(
_dt
.Ticks % TicksToFractionDivisor); }
355
XsdDateTimeKind.Zulu => new DateTime(
_dt
.Ticks, DateTimeKind.Utc),
358
XsdDateTimeKind.LocalEastOfZulu => new DateTime(
_dt
.Subtract(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc),
359
XsdDateTimeKind.LocalWestOfZulu => new DateTime(
_dt
.Add(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc),
360
_ =>
_dt
,
396
result = xdt.
_dt
.Add(addDiff);
399
result = xdt.
_dt
;
456
dt = xdt.
_dt
.Add(addDiff);
459
dt = xdt.
_dt
;
566
long ticks =
_dt
.Ticks;