class Temperature {

	public static Temperature fromKelvin(double value, TemperatureType type) {
		return new Temperature(round(type.fromKelvin(value)), type);
	}

	@JsonCreator public  Temperature(
		@JsonProperty("value") double value,
		@JsonProperty("type") TemperatureType type);

}