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/numerals.js

  • Provides:

    • dojox.date.hebrew.numerals
  • dojox.date.hebrew.numerals.getYearHebrewLetters

    • parameters:
      • year: (typeof Number)
    • returns
      String
    • summary
      converts the year from an integer to Hebrew numerals.
    • example
      		var date1 = new dojox.date.hebrew.Date();
      
      		document.writeln(dojox.date.hebrew.numerals.getYearHebrewLetters(date1.getFullYear());
    • type
      Function
  • dojox.date.hebrew.numerals.parseYearHebrewLetters

    • parameters:
      • year: (typeof String)
        hebrew year
    • returns
      int
    • summary
      converts the year written in Hebrew numerals to an integer
    • example
      		var date = new dojox.date.hebrew.Date();
              	date.setFullYear(dojox.date.hebrew.numerals.parseYearHebrewLetters('\u05ea\u05e9\u05e1\u05f4\u05d7'));
    • type
      Function
  • dojox.date.hebrew.numerals.getDayHebrewLetters

    • parameters:
      • day
      • nogrsh: (typeof boolean)
    • returns
      String
    • summary
      converts an integer to a String representing the number in Hebrew numerals.   Can be formatted with or without geresh ׳
    • example
      		var date1 = new dojox.date.hebrew.Date();
      
      		document.writeln(dojox.date.hebrew.numerals.getDayHebrewLetters(date1.getDay());
    • type
      Function
  • dojox.date.hebrew.numerals.parseDayHebrewLetters

    • parameters:
      • day: (typeof String)
        hebrew
    • returns
      int
    • summary
      converts the string containing a Hebrew numeral to an integer
    • example
      		var date1 = new dojox.date.hebrew.Date();
      
      		date1.setDate(dojox.date.hebrew.numerals.parseDayHebrewLetters('\u05d0')); // ALEPH
    • type
      Function
  • dojox.date.hebrew.numerals.getMonthHebrewLetters

    • parameters:
      • month: (typeof int)
    • returns
      String
    • summary
      converts an integer representing a  month to a String written in Hebrew numerals
    • example
      		var date1 = new dojox.date.hebrew.Date();
      
      		document.writeln(dojox.date.hebrew.numerals.getMonthHebrewLetters(date1.getMonth());
    • type
      Function
  • dojox.date.hebrew.numerals.parseMonthHebrewLetters

    • parameters:
      • monthStr: (typeof String)
    • summary
      converts a Hebrew numeral string representing
      a month to an integer.  The returned value
      is indexed in the month name array.  To use it for
      setMonth, do correction for leap year
    • example
      		var date = new dojox.date.hebrew.Date();
                  var number = dojox.date.hebrew.numerals.parseMonthHebrewLetters("\u05ea\u05de\u05d5\u05d6"); // Tammuz
      		date.setMonth(number);
    • type
      Function
  • dojox.date.hebrew.numerals

    • type
      Object
  • dojox.date.hebrew

    • type
      Object
  • dojox.date

    • type
      Object
  • dojox

    • type
      Object