File: Time.js

package info (click to toggle)
lomiri-settings-components 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,628 kB
  • sloc: cpp: 1,355; javascript: 140; sh: 129; python: 121; makefile: 20
file content (6 lines) | stat: -rw-r--r-- 115 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
.pragma library

Date.prototype.addHours = function(h){
    this.setHours(this.getHours() + h);
    return this;
}