MCPcopy Create free account
hub / github.com/DiUS/java-faker / longitude

Method longitude

src/main/java/com/github/javafaker/Address.java:90–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 }
89
90 public String longitude() {
91 return String.format("%.8g", (faker.random().nextDouble() * 360) - 180);
92 }
93
94 public String timeZone() {
95 return faker.fakeValuesService().resolve("address.time_zone", this, faker);

Callers 1

testLongitudeMethod · 0.80

Calls 2

nextDoubleMethod · 0.80
randomMethod · 0.45

Tested by 1

testLongitudeMethod · 0.64