BiTemporal modelling and Allen Relationships in Kotlin. This is just some experimental code to get familiar with bitemporal databases. Credits Adapted to Kotlin from https://github.com/scalegenius/pg_bitemporal.