gpt4 book ai didi

com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.setYear()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 22:05:05 26 4
gpt4 key购买 nike

本文整理了Java中com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.setYear()方法的一些代码示例,展示了XMLGregorianCalendarImpl.setYear()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLGregorianCalendarImpl.setYear()方法的具体详情如下:
包路径:com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl
类名称:XMLGregorianCalendarImpl
方法名:setYear

XMLGregorianCalendarImpl.setYear介绍

[英]Set year of XSD dateTime year field.

Unset this field by invoking the setter with a parameter value of DatatypeConstants#FIELD_UNDEFINED.

Note: if the absolute value of the year parameter is less than 10^9, the eon component of the XSD year field is set to null by this method.
[中]设置XSD的年份dateTime年字段。
通过调用参数值为DatatypeConstants#field_UNDEFINED的setter来取消设置此字段。
注意:如果year参数的绝对值小于10^9,则XSD年份字段的eon组件将通过此方法设置为null

代码示例

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

eon = null;
} else {
  setYear(new BigInteger(value.substring(vstart, vidx)));

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

eon = null;
} else {
  setYear(new BigInteger(value.substring(vstart, vidx)));

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

int timezone) {
setYear(year);
setMonth(month);
setDay(day);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

int timezone) {
setYear(year);
setMonth(month);
setDay(day);

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

int timezone) {
setYear(year);
setMonth(month);
setDay(day);

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

year = -year;
this.setYear(year);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

year = -year;
this.setYear(year);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

int timezone) {
setYear(year);
setMonth(month);
setDay(day);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

setYear(endYear);
    setYear(getEonAndYear().add(BigInteger.valueOf(quotient)));
    switch (i) {
    case YEAR:
      setYear(DatatypeConstants.FIELD_UNDEFINED);
      break;
    case MONTH:

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

setYear(endYear);
    setYear(getEonAndYear().add(BigInteger.valueOf(quotient)));
    switch (i) {
    case YEAR:
      setYear(DatatypeConstants.FIELD_UNDEFINED);
      break;
    case MONTH:

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com