Vai al contenuto principale

BIN gDWN1 Documentation

  • Author:

  • Version: 5

  • Description: Date time control types - INTERACTIVE see also U56ON - xs:dateTime, xs:dateTimeStamp and xs:long

  • Created: 2019-12-22

  • Modified: 2019-12-23

  • Source:

     Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='Form' description='Date time control types - INTERACTIVE see also bin:U56ON - xs:dateTime, xs:dateTimeStamp and xs:long' extra:xform.ccontrol='print'>
        <field name='DateTime'   default='2019-12-22T12:23:45'  type='xs:dateTime'  extra:form.header='Loaded with 2019-12-22T12:23:45 ' extra:form.print.show_timezone='true'  />
        <field name='DateTimeStamp_0400_DefTz'   default='2019-12-22T12:23:45+04:00' type='xs:dateTimeStamp' extra:form.timezone='default'  extra:form.print.show_timezone='true'   extra:form.header='Loaded with 2019-12-22T12:23:45+04:00 ' extra:form.explanation="DATETIME control NOW SUPPORTS dateTimeStamp adding the default timezone"/> 
        <field name='DateTimeStamp_0400_0400'   default='2019-12-22T12:23:45+04:00' type='xs:dateTimeStamp' extra:form.timezone='GMT+04:00'  extra:form.print.show_timezone='true'   extra:form.explanation='Here like in utc inputs whatever value is in [form.timezone]  or [form.print.timezone] they are always printed in the default timezone  - DATETIME control NOW SUPPORTS dateTimeStamp adding the default timezone'/>
        <field name='DateTimeStampLabel_0400_GMT'   default='2019-12-22T12:23:45+04:00' type='xs:dateTimeStamp' extra:form.timezone='Z' extra:form.print.timezone='Z'  extra:form.print.show_timezone='true'  extra:form.control='formattedLabel' extra:form.explanation="When form.timezone='Z' is used, or :form.print.timezone='Z'  ,  the timezone is the configured one: Z, GMT and hour is 8AM, 4 hours before the one printed with +04:00 "/>
        <field name='DateTimeStampLabel_0400_Def'   default='2019-12-22T12:23:45+04:00' type='xs:dateTimeStamp' extra:form.timezone='default'  extra:form.print.show_timezone='true'  extra:form.control='formattedLabel' extra:form.explanation="When form.timezone='default' is used the timezone is the default of JVM, on my server CET " />
        <field name='DateTimeStampLabel_0400_Inherit'   default='2019-12-22T12:23:45+04:00' type='xs:dateTimeStamp' extra:form.timezone='inherit'  extra:form.print.show_timezone='true'  extra:form.control='formattedLabel' extra:form.explanation="When form.timezone='inherit' is used the timezone is that of the value, so +04:00 " />
        <field name='DTimeUTC'  extra:form.control='dateTime' default='1576960110000' type='xs:long' 
    extra:nc.format='utc' extra:form.print.show_timezone='true'   extra:form.header='Long loaded with 1576960110000 ' extra:form.explanation='for long/utc input whatever value is in [form.timezone]  or [form.print.timezone] they are always printed in the default timezone'/>
        <field name='DTimeUTC_GMT'  extra:form.control='dateTime' default='1576960110000' type='xs:long' 
    extra:nc.format='utc' extra:form.print.timezone='Z' extra:form.print.show_timezone='true'  />
        <field name='DTimeUTCSummer'  extra:form.control='dateTime' default='1592990580000' type='xs:long' 
    extra:nc.format='utc'  extra:form.print.show_timezone='true'   extra:form.header='Long loaded with 1592990580000'/>
        <field name='DTimeUTCSummer_GMT'  extra:form.control='dateTime' default='1592990580000' type='xs:long' extra:form.print.show_timezone='true'  
    extra:nc.format='utc' extra:form.print.timezone='Z'/>
        <field name='DTimeLabelUTCSummer_GMT'  extra:form.control='formattedLabel' default='1592990580000' type='xs:long'  extra:form.print.show_timezone='true'  
    extra:form.explanation="Here use form.print.timezone='Z' to print with timezone GMT"
    extra:nc.format='utc' extra:form.print.timezone='Z'/>
        <field name='DTimeLabelUTCSummer_DefTz'  extra:form.control='formattedLabel' default='1592990580000' type='xs:long'  extra:form.print.show_timezone='true'  
    extra:form.explanation='Here now prints correctly default timezone'
    extra:nc.format='utc' extra:form.print.timezone='default'/>
        <field name='DTimeLabelUTCSummer_InheritTz'  extra:form.control='formattedLabel' default='1592990580000' type='xs:long'  extra:form.print.show_timezone='true'  extra:form.explanation='here inherit works differently because long has no timezone and parsed-from-long calendar seems to be GMT'
    extra:nc.format='utc' extra:form.print.timezone='inherit'/>
        <field name='DTimeLabelUTCSummer_0400Tz'  extra:form.control='formattedLabel' default='1592990580000' type='xs:long'  extra:form.print.show_timezone='true'  
     extra:form.explanation='here GMT+04 is used to print, so it will be 4 hours after the GMT formated: h13'
    extra:nc.format='utc' extra:form.timezone='GMT+04:00'/> 
     </complexType>