gpt4 book ai didi

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

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

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

XMLGregorianCalendarImpl.getFractionalSecond介绍

[英]Return fractional seconds.

null is returned when this optional field is not defined.

Value constraints are detailed in second field of date/time field mapping table.

This optional field can only have a defined value when the xs:dateTime second field, represented by ( #getSecond(), does not return DatatypeConstants#FIELD_UNDEFINED).
[中]返回小数秒。
未定义此可选字段时返回null
值约束在second field of date/time field mapping table中有详细说明。
当xs:dateTime second字段(由(#getSecond()表示)不返回DatatypeConstants#field_UNDEFINED)时,此可选字段只能具有已定义的值。

代码示例

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

case 's':
  bufPtr = print2Number(buf,bufPtr,getSecond());
  if (getFractionalSecond() != null) {
    String frac = getFractionalSecond().toString();

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

case 's':
  bufPtr = print2Number(buf,bufPtr,getSecond());
  if (getFractionalSecond() != null) {
    String frac = getFractionalSecond().toString();

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