All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.components.DateTimeComponent.kt Maven / Gradle / Ivy

The newest version!
package com.github.fluidsonic.fluid.time


interface DateTimeComponent, Measurement : TemporalMeasurement> : Comparable {

	fun map(transform: (Long) -> Long): Component
	operator fun minus(other: Measurement): Component
	operator fun minus(other: Component): Measurement
	operator fun plus(other: Measurement): Component
	fun toInt(): Int
	fun toLong(): Long

	companion object


	interface CompanionInterface> {

		val max: Component
		val min: Component

		fun of(value: Long): Component
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy