Duration
IsNegative
IsZero
JniPeerMembers
Nano
Seconds
ThresholdClass
ThresholdType
Units
Zero
Abs()
AddTo(ITemporal)
Between(ITemporal, ITemporal)
CompareTo(Duration)
DividedBy(Duration)
DividedBy(Int64)
From(ITemporalAmount)
Get(ITemporalUnit)
Minus(Duration)
Minus(Int64, ITemporalUnit)
MinusDays(Int64)
MinusHours(Int64)
MinusMillis(Int64)
MinusMinutes(Int64)
MinusNanos(Int64)
MinusSeconds(Int64)
MultipliedBy(Int64)
Negated()
Of(Int64, ITemporalUnit)
OfDays(Int64)
OfHours(Int64)
OfMillis(Int64)
OfMinutes(Int64)
OfNanos(Int64)
OfSeconds(Int64)
OfSeconds(Int64, Int64)
Parse(ICharSequence)
Parse(String)
Plus(Duration)
Plus(Int64, ITemporalUnit)
PlusDays(Int64)
PlusHours(Int64)
PlusMillis(Int64)
PlusMinutes(Int64)
PlusNanos(Int64)
PlusSeconds(Int64)
SubtractFrom(ITemporal)
ToDays()
ToDaysPart()
ToHours()
ToHoursPart()
ToMillis()
ToMillisPart()
ToMinutes()
ToMinutesPart()
ToNanos()
ToNanosPart()
ToSeconds()
ToSecondsPart()
TruncatedTo(ITemporalUnit)
WithNanos(Int32)
WithSeconds(Int64)
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
{
[SupportedOSPlatform("android26.0")]
public int Nano
{
[Register("getNano", "()I", "", ApiSince = 26)]
get;
}
}
}
.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 | The property getter is only supported on the following platforms:
|
- Built-in API
- Package-provided API