wattHours

fun wattHours(value: Int): Energy
fun wattHours(value: Long): Energy
fun wattHours(value: Double): Energy

Creates an Energy instance from the given value in watt-hours.