XMLGregorianCalendar.Millisecond Property

Definition

Return millisecond precision of #getFractionalSecond().

public virtual int Millisecond { [Android.Runtime.Register("getMillisecond", "()I", "GetGetMillisecondHandler")] get; }
[<get: Android.Runtime.Register("getMillisecond", "()I", "GetGetMillisecondHandler")>]
member this.Millisecond : int

Property Value

Millisecond of this XMLGregorianCalendar.

Attributes

Exceptions

if millisecond parameter is outside value constraints for the field as specified in .

Remarks

Return millisecond precision of #getFractionalSecond().

This method represents a convenience accessor to infinite precision fractional second value returned by #getFractionalSecond(). The returned value is the rounded down to milliseconds value of #getFractionalSecond(). When #getFractionalSecond() returns null, this method must return DatatypeConstants#FIELD_UNDEFINED.

Value constraints for this value are summarized in second field of date/time field mapping table.

Java documentation for javax.xml.datatype.XMLGregorianCalendar.getMillisecond().

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.

Applies to

See also

  • FractionalSecond
  • <xref:Javax.Xml.Datatype.XMLGregorianCalendar.SetTime(System.Int32%2c+System.Int32%2c+System.Int32)>