Example
var year = patio.Year(2009); //=> 2009
JSON.stringify(year)l //=> 2009
            

Constructor

Defined sql.js Source
function (y){
   this.date = isUndefined(y) ? new Date() : isDate(y) ? y : new Date(y, 0, 1, 0, 0, 0);
}
            

Documentation generated using coddoc.