DatatypeFactory.NewXMLGregorianCalendarTime 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.
Overloads
NewXMLGregorianCalendarTime(Int32, Int32, Int32, Int32) |
Create a Java instance of XML Schema builtin datatype |
NewXMLGregorianCalendarTime(Int32, Int32, Int32, BigDecimal, Int32) |
Create a Java instance of XML Schema builtin datatype time. |
NewXMLGregorianCalendarTime(Int32, Int32, Int32, Int32, Int32) |
Create a Java instance of XML Schema builtin datatype time. |
NewXMLGregorianCalendarTime(Int32, Int32, Int32, Int32)
Create a Java instance of XML Schema builtin datatype time
.
[Android.Runtime.Register("newXMLGregorianCalendarTime", "(IIII)Ljavax/xml/datatype/XMLGregorianCalendar;", "GetNewXMLGregorianCalendarTime_IIIIHandler")]
public virtual Javax.Xml.Datatype.XMLGregorianCalendar? NewXMLGregorianCalendarTime (int hours, int minutes, int seconds, int timezone);
[<Android.Runtime.Register("newXMLGregorianCalendarTime", "(IIII)Ljavax/xml/datatype/XMLGregorianCalendar;", "GetNewXMLGregorianCalendarTime_IIIIHandler")>]
abstract member NewXMLGregorianCalendarTime : int * int * int * int -> Javax.Xml.Datatype.XMLGregorianCalendar
override this.NewXMLGregorianCalendarTime : int * int * int * int -> Javax.Xml.Datatype.XMLGregorianCalendar
Parameters
- hours
- Int32
number of hours
- minutes
- Int32
number of minutes
- seconds
- Int32
number of seconds
- timezone
- Int32
offset in minutes. DatatypeConstants#FIELD_UNDEFINED
indicates optional field is not set.
Returns
XMLGregorianCalendar
created from parameter values.
- Attributes
Exceptions
If any individual parameter's value is outside the maximum value constraint for the field
as determined by the Date/Time Data Mapping table in XMLGregorianCalendar
or if the composite values constitute an invalid XMLGregorianCalendar
instance
as determined by IsValid.
Remarks
Create a Java instance of XML Schema builtin datatype time
.
A DatatypeConstants#FIELD_UNDEFINED
value indicates that field is not set.
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.
See also
Applies to
NewXMLGregorianCalendarTime(Int32, Int32, Int32, BigDecimal, Int32)
Create a Java instance of XML Schema builtin datatype time.
[Android.Runtime.Register("newXMLGregorianCalendarTime", "(IIILjava/math/BigDecimal;I)Ljavax/xml/datatype/XMLGregorianCalendar;", "GetNewXMLGregorianCalendarTime_IIILjava_math_BigDecimal_IHandler")]
public virtual Javax.Xml.Datatype.XMLGregorianCalendar? NewXMLGregorianCalendarTime (int hours, int minutes, int seconds, Java.Math.BigDecimal? fractionalSecond, int timezone);
[<Android.Runtime.Register("newXMLGregorianCalendarTime", "(IIILjava/math/BigDecimal;I)Ljavax/xml/datatype/XMLGregorianCalendar;", "GetNewXMLGregorianCalendarTime_IIILjava_math_BigDecimal_IHandler")>]
abstract member NewXMLGregorianCalendarTime : int * int * int * Java.Math.BigDecimal * int -> Javax.Xml.Datatype.XMLGregorianCalendar
override this.NewXMLGregorianCalendarTime : int * int * int * Java.Math.BigDecimal * int -> Javax.Xml.Datatype.XMLGregorianCalendar
Parameters
- hours
- Int32
number of hours
- minutes
- Int32
number of minutes
- seconds
- Int32
number of seconds
- fractionalSecond
- BigDecimal
value of null
indicates that this optional field is not set.
- timezone
- Int32
offset in minutes. DatatypeConstants#FIELD_UNDEFINED
indicates optional field is not set.
Returns
XMLGregorianCalendar
created from parameter values.
- Attributes
Exceptions
If any individual parameter's value is outside the maximum value constraint for the field
as determined by the Date/Time Data Mapping table in XMLGregorianCalendar
or if the composite values constitute an invalid XMLGregorianCalendar
instance
as determined by IsValid.
Remarks
Create a Java instance of XML Schema builtin datatype time.
A null
value indicates that field is not set.
A DatatypeConstants#FIELD_UNDEFINED
value indicates that field is not set.
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.
See also
Applies to
NewXMLGregorianCalendarTime(Int32, Int32, Int32, Int32, Int32)
Create a Java instance of XML Schema builtin datatype time.
[Android.Runtime.Register("newXMLGregorianCalendarTime", "(IIIII)Ljavax/xml/datatype/XMLGregorianCalendar;", "GetNewXMLGregorianCalendarTime_IIIIIHandler")]
public virtual Javax.Xml.Datatype.XMLGregorianCalendar? NewXMLGregorianCalendarTime (int hours, int minutes, int seconds, int milliseconds, int timezone);
[<Android.Runtime.Register("newXMLGregorianCalendarTime", "(IIIII)Ljavax/xml/datatype/XMLGregorianCalendar;", "GetNewXMLGregorianCalendarTime_IIIIIHandler")>]
abstract member NewXMLGregorianCalendarTime : int * int * int * int * int -> Javax.Xml.Datatype.XMLGregorianCalendar
override this.NewXMLGregorianCalendarTime : int * int * int * int * int -> Javax.Xml.Datatype.XMLGregorianCalendar
Parameters
- hours
- Int32
number of hours
- minutes
- Int32
number of minutes
- seconds
- Int32
number of seconds
- milliseconds
- Int32
number of milliseconds
- timezone
- Int32
offset in minutes. DatatypeConstants#FIELD_UNDEFINED
indicates optional field is not set.
Returns
XMLGregorianCalendar
created from parameter values.
- Attributes
Exceptions
If any individual parameter's value is outside the maximum value constraint for the field
as determined by the Date/Time Data Mapping table in XMLGregorianCalendar
or if the composite values constitute an invalid XMLGregorianCalendar
instance
as determined by IsValid.
Remarks
Create a Java instance of XML Schema builtin datatype time.
A DatatypeConstants#FIELD_UNDEFINED
value indicates that field is not set.
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.