System\Xml\Schema\XsdDateTime.cs (10)
348return new DateTime(dt.Subtract(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc);
351return new DateTime(dt.Add(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc);
403ticks = result.Ticks - new TimeSpan(xdt.ZoneHour, xdt.ZoneMinute, 0).Ticks;
416ticks = result.Ticks + new TimeSpan(xdt.ZoneHour, xdt.ZoneMinute, 0).Ticks;
455result = new DateTimeOffset(dt, new TimeSpan(xdt.ZoneHour, xdt.ZoneMinute, 0));
458result = new DateTimeOffset(dt, new TimeSpan(-xdt.ZoneHour, -xdt.ZoneMinute, 0));
610ShortToCharArray(text, Lz_, ZoneHour);
618ShortToCharArray(text, Lz_, ZoneHour);
652return dt.Subtract(new TimeSpan(ZoneHour, ZoneMinute, 0));
654return dt.Add(new TimeSpan(ZoneHour, ZoneMinute, 0));