documentation/test/fixture/multisignature.input.js
2015-04-24 17:10:35 -04:00

20 lines
290 B
JavaScript

var theTime;
/**
* Get the time
* @returns {Date} the current date
*/
/**
* Set the time
* @param {Date} time the current time
* @returns {undefined} nothing
*/
function getTheTime(time) {
if (arguments.length === 0) {
return new Date();
} else {
theTime = time;
}
}