mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: timezone in GeoLocation
parent
10e78ab00b
commit
d0e684487a
|
@ -4,13 +4,15 @@ public class GeoLocation {
|
||||||
|
|
||||||
private String country;
|
private String country;
|
||||||
private String city;
|
private String city;
|
||||||
|
private String timezone;
|
||||||
private Double latitude;
|
private Double latitude;
|
||||||
private Double longitude;
|
private Double longitude;
|
||||||
|
|
||||||
public GeoLocation(String country, String city, Double latitude, Double longitude) {
|
public GeoLocation(String country, String city, String timezone, Double latitude, Double longitude) {
|
||||||
super();
|
super();
|
||||||
this.country = country;
|
this.country = country;
|
||||||
this.city = city;
|
this.city = city;
|
||||||
|
this.timezone = timezone;
|
||||||
this.latitude = latitude;
|
this.latitude = latitude;
|
||||||
this.longitude = longitude;
|
this.longitude = longitude;
|
||||||
}
|
}
|
||||||
|
@ -23,6 +25,10 @@ public class GeoLocation {
|
||||||
return city;
|
return city;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getTimezone() {
|
||||||
|
return timezone;
|
||||||
|
}
|
||||||
|
|
||||||
public Double getLatitude() {
|
public Double getLatitude() {
|
||||||
return latitude;
|
return latitude;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue