net9.0-android34.0
namespace Java.Time
{
    [Register("java/time/Duration", ApiSince = 26, DoNotGenerateAcw = true)]
    [SupportedOSPlatform("android26.0")]
    public sealed class Duration : Object, IJavaObject, IJavaPeerable, ISerializable, IComparable, ITemporalAmount, IDisposable
    {
        [Register("of", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Duration;", "", ApiSince = 26)]
        [SupportedOSPlatform("android26.0")]
        public static Duration? Of(long amount, ITemporalUnit? unit);
    }
}
.NET 8.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Android 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0
Information specific to net9.0-android34.0
Assembly

Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Android >= 26
  • Built-in API
  • Package-provided API

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