Duration.IsShorterThan(Duration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if this duration object is strictly shorter than
another Duration
object.
[Android.Runtime.Register("isShorterThan", "(Ljavax/xml/datatype/Duration;)Z", "GetIsShorterThan_Ljavax_xml_datatype_Duration_Handler")]
public virtual bool IsShorterThan (Javax.Xml.Datatype.Duration? duration);
[<Android.Runtime.Register("isShorterThan", "(Ljavax/xml/datatype/Duration;)Z", "GetIsShorterThan_Ljavax_xml_datatype_Duration_Handler")>]
abstract member IsShorterThan : Javax.Xml.Datatype.Duration -> bool
override this.IsShorterThan : Javax.Xml.Datatype.Duration -> bool
Parameters
- duration
- Duration
Duration
to test this Duration
against.
Returns
true
if duration
parameter is shorter than this Duration
,
else false
.
- Attributes
Exceptions
If the underlying implementation cannot reasonably process the request, e.g. W3C XML Schema allows for arbitrarily large/small/precise values, the request may be beyond the implementations capability.
if duration
is null.
Remarks
Checks if this duration object is strictly shorter than another Duration
object.
Java documentation for javax.xml.datatype.Duration.isShorterThan(javax.xml.datatype.Duration)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.