File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/io/ipgeolocation/api Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ public class GeolocationTimezone {
1111 private final BigDecimal currentTimeUnix ;
1212 private final boolean dst ;
1313 private final int dstSavings ;
14+ private final int offsetWithDst ;
1415 private final JSONObject json ;
1516
1617 GeolocationTimezone (JSONObject json ) {
@@ -28,6 +29,7 @@ public class GeolocationTimezone {
2829 this .currentTimeUnix = json .getBigDecimal ("current_time_unix" );
2930 this .dst = json .getBoolean ("is_dst" );
3031 this .dstSavings = json .getInt ("dst_savings" );
32+ this .offsetWithDst = json .getInt ("offset_with_dst" );
3133 this .json = json ;
3234 }
3335
@@ -55,6 +57,10 @@ public int getDstSavings() {
5557 return dstSavings ;
5658 }
5759
60+ public int getOffsetWithDst () {
61+ return offsetWithDst ;
62+ }
63+
5864 @ Override
5965 public String toString () {
6066 return json .toString (2 );
You can’t perform that action at this time.
0 commit comments