UNPKG

ts-jsdk

Version:

TypeScript implementation of the Java platform

19 lines 370 B
export class Calendar { constructor(time) { this.time = time; } setTime(time) { this.time = time; } getTime() { return this.time; } get(index) { switch (index) { case 1: return this.time.getFullYear(); } return undefined; } } //# sourceMappingURL=Calendar.js.map