See the dojox/date/buddhist reference documentation for more information.
Add to a Date in intervals of different size, from milliseconds to years
Parameter | Type | Description |
---|---|---|
date | dojox/date/buddhist/Date | Date object to start with |
interval | String | A string representing the interval. One of the following: "year", "month", "day", "hour", "minute", "second", "millisecond", "week", "weekday" |
amount | int | How much to add to the date. |
Compare two buddhist date objects by date, time, or both.
Parameter | Type | Description |
---|---|---|
date1 | dojox/date/buddhist/Date | |
date2 | dojox/date/buddhist/Date | |
portion | String |
Optional
|
date2 - date1
Parameter | Type | Description |
---|---|---|
date1 | dojox/date/hebrew/Date | |
date2 | dojox/date/hebrew/Date |
Optional If not specified, the current hebrew.Date is used. |
interval | String |
Optional A string representing the interval. One of the following: "year", "month", "day", "hour", "minute", "second", "millisecond", "week", "weekday" Defaults to "day". |
Parameter | Type | Description |
---|---|---|
dateObject | dojox/date/buddhist/Date |
Parameter | Type | Description |
---|---|---|
dateObject | dojox/date/buddhist/Date |