type | xs:double | ||
properties |
|
||
used by | |||
annotation |
|
||
source | <xs:simpleType name="SFTime"> <xs:annotation> <xs:appinfo> <xs:attribute name="defaultValue" type="SFTime" default="-1.0"/> <!-- https://stackoverflow.com/questions/10516967/regexp-for-a-double --> <xs:pattern value="\s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*"/> SFTime specifies a single time value, expressed as a double-precision floating point number. Typically, SFTime fields represent the number of seconds since Jan 1, 1970, 00:00:00 GMT. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/fieldsDef.html#SFTimeAndMFTime"/> </xs:annotation> <xs:restriction base="xs:double"/> <!-- XML schema base type xs:time not usable since it allows different nomenclatures for time values. --> </xs:simpleType> |