net6.0-windows
namespace System
{
    public readonly struct DateTimeOffset : IAdditionOperators<DateTimeOffset, TimeSpan, DateTimeOffset>, IAdditiveIdentity<DateTimeOffset, TimeSpan>, IComparable, IComparable<DateTimeOffset>, IComparisonOperators<DateTimeOffset, DateTimeOffset>, IEqualityOperators<DateTimeOffset, DateTimeOffset>, IEquatable<DateTimeOffset>, IFormattable, IMinMaxValue<DateTimeOffset>, IParseable<DateTimeOffset>, ISpanFormattable, ISpanParseable<DateTimeOffset>, ISubtractionOperators<DateTimeOffset, DateTimeOffset, TimeSpan>, ISubtractionOperators<DateTimeOffset, TimeSpan, DateTimeOffset>, IDeserializationCallback, ISerializable
    {
        public int Hour { get; }
    }
}
NetFx Compat Lab
3.8 %
Reference this API
nuget.org
0.7 %
Reference this API
Upgrade Planner
0.3 %
Reference this API
.NET 5.06.07.08.09.0
.NET Core 1.01.12.02.12.23.03.1
.NET Framework 2.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 1.01.11.21.31.41.51.62.02.1
Information specific to net6.0
Assemblies

System.Runtime , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

System.Runtime , Version=4.1.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

Requires any:

  • Your project needs a package reference to System.Runtime.

  • Your project needs a package reference to System.Runtime.Experimental.

Package System.Runtime.Experimental (6.0.2) net6.0
Platform Restrictions

The property getter is supported on all platforms.

  • Built-in API
  • Package-provided API

12/22/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙