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

dojox/date/hebrew/locale.js

  • Provides:

    • dojox.date.hebrew.locale
  • Requires:

    • dojox.date.hebrew.Date in common
    • dojox.date.hebrew.numerals in common
    • dojo.regexp in common
    • dojo.string in common
    • dojo.i18n in common
  • dojox.date.hebrew.locale.format

    • parameters:
      • dateObject: (typeof hebrew.Date)
        the date and/or time to be formatted.  If a time only is formatted,
        the values in the year, month, and day fields are irrelevant.  The
        opposite is true when formatting only dates.
      • options: (typeof object)
    • returns
      String
    • summary
      Format a Date object as a String, using  settings.
    • description
      Create a string from a hebrew.Date object using a known pattern.
      By default, this method formats both date and time from dateObject.
      Default formatting lengths is 'short'
    • type
      Function
  • dojox.date.hebrew.locale.regexp

    • parameters:
      • options: (typeof object)
    • returns
      String
    • summary
      Builds the regular needed to parse a hebrew.Date
    • type
      Function
  • dojox.date.hebrew.locale._parseInfo

    • parameters:
      • options: (typeof oblect)
    • type
      Function
  • dojox.date.hebrew.locale.parse

    • parameters:
      • value: (typeof String)
      • options: (typeof object)
    • returns
      hebrew.Date
    • summary
      This function parse string date value according to options
    • example
      		var dateHebrew = dojox.date.hebrew.locale.parse('11/10/5740', {datePattern:'dd/MM/yy', selector:'date'});
      		in Hebrew locale string for parsing contains Hebrew Numerals
      
        options = {datePattern:'dd MMMM yy', selector:'date'};
      
         y - year
         M, MM  - short month
        MMM, MMMM - long month
        d - date
        a - am, pm
         E, EE, EEE, EEEE  - week day
      
          h, H, k, K, m, s, S,  -  time format
    • type
      Function
  • dojox.date.hebrew.locale.addCustomFormats

    • parameters:
      • packageName: (typeof String)
      • bundleName: (typeof String)
    • summary
      Add a reference to a bundle containing localized custom formats to be
      used by date/time formatting and parsing routines.
    • description
      The user may add custom localized formats where the bundle has properties following the
      same naming convention used by dojo.cldr: `dateFormat-xxxx` / `timeFormat-xxxx`
      The pattern string should match the format used by the CLDR.
      See dojo.date.locale.format() for details.
      The resources must be loaded by dojo.requireLocalization() prior to use
    • type
      Function
  • dojox.date.hebrew.locale._getHebrewBundle

    • parameters:
      • locale: (typeof String)
    • type
      Function
  • dojox.date.hebrew.locale.getNames

    • parameters:
      • item: (typeof String)
        'months' || 'days'
      • type: (typeof String)
        'wide' || 'narrow' || 'abbr' (e.g. "Monday", "Mon", or "M" respectively, in English)
        use:
        'standAlone' || 'format' (default)
      • context: (typeof String)
      • locale: (typeof String)
        override locale used to find the names
      • date: (typeof dojox.date.hebrew.Date)
        required for item=months to determine leap month name
        
        using  var monthNames = dojox.date.hebrew.locale.getNames('months', 'wide', 'format', 'he', new dojox.date.hebrew.Date(5768, 2, 12));
    • summary
      Used to get localized strings from dojo.cldr for day or month names.
    • type
      Function
  • dojox.date.hebrew.locale

    • type
      Object
  • dojox.date.hebrew

    • type
      Object
  • dojox.date

    • type
      Object
  • dojox

    • type
      Object