XMLGregorianCalendar.SetYear(BigInteger) 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.
Set low and high order component of XSD dateTime
year field.
[Android.Runtime.Register("setYear", "(Ljava/math/BigInteger;)V", "GetSetYear_Ljava_math_BigInteger_Handler")]
public abstract void SetYear (Java.Math.BigInteger? year);
[<Android.Runtime.Register("setYear", "(Ljava/math/BigInteger;)V", "GetSetYear_Ljava_math_BigInteger_Handler")>]
abstract member SetYear : Java.Math.BigInteger -> unit
Parameters
- year
- BigInteger
value constraints summarized in year field of date/time field mapping table.
- Attributes
Exceptions
if year
parameter is
outside value constraints for the field as specified in
.
Remarks
Set low and high order component of XSD dateTime
year field.
Unset this field by invoking the setter with a parameter value of null
.
Java documentation for javax.xml.datatype.XMLGregorianCalendar.setYear(java.math.BigInteger)
.
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.