File tree Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Original file line number Diff line number Diff line change 11module . exports = class TimezoneParams {
22
33 constructor ( ) {
4- var timezone = "" ;
5- var ip = "" ;
4+ var tz = "" ;
5+ var ipAddress = "" ;
6+ var lang = "" ;
67 var latitude = 1000.0 ;
78 var longitude = 1000.0 ;
89 }
910
10- setTimezone ( timezone = "" ) {
11- this . timezone = timezone ;
11+ setTimezone ( tz = "" ) {
12+ this . tz = tz ;
1213 }
1314
1415 getTimezone ( ) {
15- return this . timezone ;
16+ return this . tz ;
1617 }
1718
18- setIP ( ip = "" ) {
19- this . ip = ip ;
19+ setIPAddress ( ipAddress = "" ) {
20+ this . ipAdress = ipAddress ;
2021 }
2122
22- getIP ( ) {
23- return this . ip ;
23+ getIPAddress ( ) {
24+ return this . ipAdress ;
2425 }
2526
26- setLocation ( latitude = "" , longitude = "" ) {
27+ setLang ( lang = "" ) {
28+ this . lang = lang ;
29+ }
30+
31+ getLang ( ) {
32+ return this . lang ;
33+ }
34+
35+ setCoordinates ( latitude = "" , longitude = "" ) {
2736 this . latitude = latitude ;
2837 this . longitude = longitude ;
2938 }
You can’t perform that action at this time.
0 commit comments