Example
var time = patio.Time(12, 12, 12); //=> 12:12:12
JSON.stringify(time); //=> 12:12:12
            

Constructor

Defined sql.js Source
function (h,min,s,ms){
   var args = argsToArray(arguments);
   if (args.length === 0) {
       this.date = new Date();
   } else if (isDate(h)) {
       this.date = h;
   } else {
       var date = new Date(1970, 0, 1, 0, 0, 0);
       isNumber(h) && date.setHours(h);
       isNumber(min) && date.setMinutes(min);
       isNumber(s) && date.setSeconds(s);
       isNumber(ms) && date.setMilliseconds(ms);
       this.date = date;
   }
}
            

Documentation generated using coddoc.