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 <code>Duration</code> 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
<code>Duration</code> to test this <code>Duration</code> against.
Returns
<code>true</code> if <code>duration</code> parameter is shorter than this <code>Duration</code>, else <code>false</code>.
- 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
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.