| $#! | |
| $today | |
| C | |
| checkBoolean, Function | |
| checkDate, Date | |
| checkType, Function | |
| checkValue, Function | |
| checkYear, Date | |
| F | |
| forEach, MooMonth. Module. Transitions | |
| from | |
| fromId, MooMonth. Module. Selectors | |
| G | |
| getAggregateLengths, Date | |
| getLengths, Date | |
| I | |
| isLeapYear, Date | |
| N | |
| now, Date | |
| T | |
| toId | |
| Y | |
| yearDateToMonthDate, Date | |
| yearLength, Date | |
| yearStartDay, Date |
Same as Date.now
$today = function()
Shortcut to using Function.checkType with a boolean for type.
Function.checkBoolean = function( bool )
Shortcut to using Function.checkType with a number for type.
Date.checkDate = function( date )
Throws an error if value is not the right type.
Function.checkType = function( value, type, kind )
Throws an error if value is not defined.
Function.checkValue = function( value, kind )
Shortcut to using Function.checkType with a number for type.
Date.checkYear = function( year )
forEach: function( effects, styles )
Get the day, and week position from a MooMonth.Element day element, or UID.
from: function( el )
Find an element from a MooMonth.Element.
from: function( prefix, uid )
Same as from but assumes UID is just a number.
fromId: function( prefix, uid )
Same as Date.defaultAggregateLengths but modifies for a leap you if _isLeapYear is true.
Date.getAggregateLengths = function( _isLeapYear )
Same as Date.defaultLengths but modifies for a leap you if _isLeapYear is true.
Date.getLengths = function( _isLeapYear )
Checks if passed in year is a leap year.
Date.isLeapYear = function( year )
Same as new Date()
Date.now = function()
Find the UID of a day based on it’s position.
toId: function( d, w )
Find the UID of a MooMonth.Element element.
toId: function( el )
Convert a year date to a month date.
Date.yearDateToMonthDate = function( yearDate, _isLeapYear )
Returns the year length, 366 if a leap year, else 365
Date.yearLength = function( _isLeapYear )
Get the year”s week offset.
Date.yearStartDay = function( year )