Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dijit/form/_DateTimeTextBox.js

  • Provides:

    • dijit.form._DateTimeTextBox
  • Requires:

    • dojo.date in common
    • dojo.date.locale in common
    • dojo.date.stamp in common
    • dijit.form.ValidationTextBox in common
    • dijit._HasDropDown in common
  • dijit.form._DateTimeTextBox.__Constraints

    • type
      Function
    • chains:
      • dijit.form.RangeBoundTextBox.__Constraints: (prototype)
      • dojo.date.locale.__FormatOptions.prototype: (prototype)
      • dijit.form.RangeBoundTextBox.__Constraints: (call)
      • dojo.date.locale.__FormatOptions: (call)
    • summary
      Specifies both the rules on valid/invalid values (first/last date/time allowed),
      and also formatting options for how the date/time is displayed.
    • example
      To restrict to dates within 2004, displayed in a long format like "December 25, 2005":
      		{min:'2004-01-01',max:'2004-12-31', formatLength:'long'}
  • dijit.form._DateTimeTextBox

    • type
      Function
    • chains:
      • dijit.form.RangeBoundTextBox: (prototype)
      • dijit._HasDropDown.prototype: (prototype)
      • dijit.form.RangeBoundTextBox: (call)
      • dijit._HasDropDown: (call)
    • parameters:
      • args: (typeof Object)
    • summary
      Base class for validating, serializable, range-bound date or time text box.
  • dijit.form._DateTimeTextBox.templateString

    • type
      Object
  • dijit.form._DateTimeTextBox.hasDownArrow

    • tags: const
    • type
      Boolean
    • summary
      Set this textbox to display a down arrow button, to open the drop down list.
  • dijit.form._DateTimeTextBox.openOnClick

    • tags: const
    • type
      Boolean
    • summary
      Set to true to open drop down upon clicking anywhere on the textbox.
  • dijit.form._DateTimeTextBox.constraints

    • type
      dijit.form._DateTimeTextBox.__Constraints
    • summary
      Despite the name, this parameter specifies both constraints on the input
      (including starting/ending dates/times allowed) as well as
      formatting options like whether the date is displayed in long (ex: December 25, 2005)
      or short (ex: 12/25/2005) format.  See <code>dijit.form._DateTimeTextBox.__Constraints</code> for details.
  • dijit.form._DateTimeTextBox.regExpGen

    • alias - dojo.date.locale.regexp
  • dijit.form._DateTimeTextBox.datePackage

    • type
      String
    • summary
      JavaScript namespace to find calendar routines.	 Uses Gregorian calendar routines
      at dojo.date, by default.
  • dijit.form._DateTimeTextBox.compare

    • parameters:
      • val1: (typeof Date)
      • val2: (typeof Date)
    • type
      Function
  • dijit.form._DateTimeTextBox.forceWidth

    • type
      Object
  • dijit.form._DateTimeTextBox.format

    • parameters:
      • value: (typeof Date)
      • constraints: (typeof dojo.date.locale.__FormatOptions)
    • summary
      Formats the value as a Date, according to specified locale (second argument)
    • tags:
    • type
      Function
  • dijit.form._DateTimeTextBox.parse

    • parameters:
      • value: (typeof String)
      • constraints: (typeof dojo.date.locale.__FormatOptions)
    • returns
      Date
    • summary
      Parses as string as a Date, according to constraints
    • tags:
    • type
      Function
  • dijit.form._DateTimeTextBox.serialize

    • parameters:
      • val: (typeof anything)
      • options: (typeof Object)
    • type
      Function
  • dijit.form._DateTimeTextBox.dropDownDefaultValue

    • type
      Date
    • summary
      The default value to focus in the popupClass widget when the textbox value is empty.
  • dijit.form._DateTimeTextBox.value

    • type
      Date
    • summary
      The value of this widget as a JavaScript Date object.  Use get(&quot;value&quot;) / set(&quot;value&quot;, val) to manipulate.
      When passed to the parser in markup, must be specified according to <code>dojo.date.stamp.fromISOString</code>
      
      
      value.toString()=&quot;NaN&quot;
  • dijit.form._DateTimeTextBox._blankValue

    • type
      Object
  • dijit.form._DateTimeTextBox.popupClass

    • tags: extension
    • type
      String
    • summary
      Name of the popup widget class used to select a date/time.
      Subclasses should specify this.
      
      
      default is no popup = text only
  • dijit.form._DateTimeTextBox._selector

    • tags: extension
    • type
      String
    • summary
      Specifies constraints.selector passed to dojo.date functions, should be either
      &quot;date&quot; or &quot;time&quot;.
      Subclass must specify this.
  • dijit.form._DateTimeTextBox.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • args: (typeof Object)
  • dijit.form._DateTimeTextBox.buildRendering

    • type
      Function
  • dijit.form._DateTimeTextBox._buttonNode.style.display

    • type
      String
  • dijit.form._DateTimeTextBox._buttonNode

  • dijit.form._DateTimeTextBox._setConstraintsAttr

    • parameters:
      • constraints: (typeof Object)
    • type
      Function
  • dijit.form._DateTimeTextBox._isInvalidDate

    • parameters:
      • value: (typeof Date)
    • summary
      Runs various tests on the value, checking for invalid conditions
    • tags:
    • type
      Function
  • dijit.form._DateTimeTextBox._setValueAttr

    • parameters:
      • value: (typeof Date|String)
      • priorityChange: (typeof Boolean)
      • formattedValue: (typeof String)
    • summary
      Sets the date on this textbox. Note: value can be a JavaScript Date literal or a string to be parsed.
    • type
      Function
  • dijit.form._DateTimeTextBox._set

    • parameters:
      • attr
      • value
    • type
      Function
  • dijit.form._DateTimeTextBox._setDropDownDefaultValueAttr

    • parameters:
      • val: (typeof Date)
    • type
      Function
  • dijit.form._DateTimeTextBox.openDropDown

    • parameters:
      • callback: (typeof Function)
    • type
      Function
  • dijit.form._DateTimeTextBox.dropDown

    • type
      Object
  • dijit.form._DateTimeTextBox._getDisplayedValueAttr

    • type
      Function
  • dijit.form._DateTimeTextBox._setDisplayedValueAttr

    • parameters:
      • value: (typeof String)
      • priorityChange: (typeof Boolean)
    • type
      Function
  • dijit.form._DateTimeTextBox.dateClassObj

    • type
      Object
  • dijit.form._DateTimeTextBox.dateLocaleModule

    • type
      Object
  • dijit.form._DateTimeTextBox._invalidDate

    • type
      Object
  • dijit.form

    • type
      Object
  • dijit

    • type
      Object