4 writes to dt
System.Xml (4)
System\Xml\Schema\XsdDateTime.cs (4)
139
dt
= new DateTime(parser.year, parser.month, parser.day, parser.hour, parser.minute, parser.second);
141
dt
= dt.AddTicks(parser.fraction);
163
dt
= dateTime;
202
dt
= dateTimeOffset.DateTime;
28 references to dt
System.Xml (28)
System\Xml\Schema\XsdDateTime.cs (28)
141
dt =
dt
.AddTicks(parser.fraction);
267
get { return
dt
.Year; }
275
get { return
dt
.Month; }
283
get { return
dt
.Day; }
291
get { return
dt
.Hour; }
299
get { return
dt
.Minute; }
307
get { return
dt
.Second; }
315
get { return (int)(
dt
.Ticks - new DateTime(
dt
.Year,
dt
.Month,
dt
.Day,
dt
.Hour,
dt
.Minute,
dt
.Second).Ticks); }
345
return new DateTime(
dt
.Ticks, DateTimeKind.Utc);
348
return new DateTime(
dt
.Subtract(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc);
351
return new DateTime(
dt
.Add(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc);
353
return
dt
;
388
result = xdt.
dt
.Add(addDiff);
391
result = xdt.
dt
;
445
dt = xdt.
dt
.Add( addDiff );
448
dt = xdt.
dt
;
479
return DateTime.Compare(left.
dt
, right.
dt
);
650
return
dt
;
652
return
dt
.Subtract(new TimeSpan(ZoneHour, ZoneMinute, 0));
654
return
dt
.Add(new TimeSpan(ZoneHour, ZoneMinute, 0));
656
return
dt
.ToUniversalTime();