@Test public void testToWattPerHourPerSquareMeter() { double joulePerCm2 = 70.8; TotalSolarRadiation solar = new TotalSolarRadiation(joulePerCm2, RadiationType.JOULE_PER_SQUARE_CENTIMETER); Assert.assertEquals(196.66, solar.toWattPerHourPerSquareMeter(), DELTA); }
public double toWattPerHourPerSquareMeter() { double value = getType().toWattPerSquareMeter(getValue(), 3600); return Math.floor(value * 100) / 100; }
TotalSolarRadiation { public double toWattPerHourPerSquareMeter() { double value = getType().toWattPerSquareMeter(getValue(), 3600); return Math.floor(value * 100) / 100; } }
TotalSolarRadiation { public double toWattPerHourPerSquareMeter() { double value = getType().toWattPerSquareMeter(getValue(), 3600); return Math.floor(value * 100) / 100; } @JsonCreator  TotalSolarRadiation(
		@JsonProperty("value") double value,
		@JsonProperty("type") RadiationType type); }
TotalSolarRadiation { public double toWattPerHourPerSquareMeter() { double value = getType().toWattPerSquareMeter(getValue(), 3600); return Math.floor(value * 100) / 100; } @JsonCreator  TotalSolarRadiation(
		@JsonProperty("value") double value,
		@JsonProperty("type") RadiationType type); double getValue(); RadiationType getType(); double toWattPerHourPerSquareMeter(); @Override boolean equals(Object o); @Override int hashCode(); }
TotalSolarRadiation { public double toWattPerHourPerSquareMeter() { double value = getType().toWattPerSquareMeter(getValue(), 3600); return Math.floor(value * 100) / 100; } @JsonCreator  TotalSolarRadiation(
		@JsonProperty("value") double value,
		@JsonProperty("type") RadiationType type); double getValue(); RadiationType getType(); double toWattPerHourPerSquareMeter(); @Override boolean equals(Object o); @Override int hashCode();  }