groostav
04/26/2018, 11:02 PMdata class ViewObject(val amount: Double, val unit: TimeUnit)
and I want to convert it into a java.time.Duration
class and back again, and I would like to make this class non-nullable where the default is something like ViewObject(Double.INFINITY, TimeUnit.MINUTES)
where the presentation logic would represent "infinity" as empty string...
maybe ill just use null 😕