Duration.NormalizeWith(Calendar) 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.
Converts the years and months fields into the days field by using a specific time instant as the reference point.
[Android.Runtime.Register("normalizeWith", "(Ljava/util/Calendar;)Ljavax/xml/datatype/Duration;", "GetNormalizeWith_Ljava_util_Calendar_Handler")]
public abstract Javax.Xml.Datatype.Duration? NormalizeWith (Java.Util.Calendar? startTimeInstant);
[<Android.Runtime.Register("normalizeWith", "(Ljava/util/Calendar;)Ljavax/xml/datatype/Duration;", "GetNormalizeWith_Ljava_util_Calendar_Handler")>]
abstract member NormalizeWith : Java.Util.Calendar -> Javax.Xml.Datatype.Duration
Parameters
- startTimeInstant
- Calendar
<code>Calendar</code> reference point.
Returns
<code>Duration</code> of years and months of this <code>Duration</code> as days.
- Attributes
Exceptions
If the startTimeInstant parameter is null.
Remarks
Java documentation for javax.xml.datatype.Duration.normalizeWith(java.util.Calendar).
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.