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

Method temperatureCelsius

src/main/java/com/github/javafaker/Weather.java:30–32  ·  view source on GitHub ↗

Generates a random temperature celsius between -30 and 38 degrees. @return String that represents temperature in format 5°C

()

Source from the content-addressed store, hash-verified

28 * @return String that represents temperature in format 5°C
29 */
30 public String temperatureCelsius() {
31 return temperature(DEFAULT_MIN_TEMP_C, DEFAULT_MAX_TEMP_C, "weather.temperature.celsius");
32 }
33
34 /**
35 * Generates a random temperature fahrenheit between -22 and 100 degrees.

Callers

nothing calls this directly

Calls 1

temperatureMethod · 0.95

Tested by

no test coverage detected