UNPKG
ts-jsdk
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
TypeScript implementation of the Java platform
github.com/Javarome/ts-jsdk
Javarome/ts-jsdk
ts-jsdk
/
dist
/
util
/
Calendar.js
19 lines
•
370 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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