teller-android / com.levibostian.teller.type

Package com.levibostian.teller.type

Types

Age

data class Age

Custom response class to represent a length of time. This is created because Duration is Java 8 only (requires API 26 on Android). I also did not want to bring in a library for this one very small need so I decided to create my own thing.