openvidu-server: timezone in GeoLocation

pull/255/head
pabloFuente 2019-03-18 11:55:03 +01:00
parent 10e78ab00b
commit d0e684487a
1 changed files with 7 additions and 1 deletions

View File

@ -4,13 +4,15 @@ public class GeoLocation {
private String country;
private String city;
private String timezone;
private Double latitude;
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();
this.country = country;
this.city = city;
this.timezone = timezone;
this.latitude = latitude;
this.longitude = longitude;
}
@ -23,6 +25,10 @@ public class GeoLocation {
return city;
}
public String getTimezone() {
return timezone;
}
public Double getLatitude() {
return latitude;
}