Minix
5.0.0-alpha
module-data
/
dev.racci.minix.data
/
Version
Version
data
class
Version
:
Comparable
<
Version
>
Types
Functions
Properties
Types
Companion
Link copied to clipboard
object
Companion
Pre
Release
Tag
Link copied to clipboard
class
PreReleaseTag
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Version
)
:
Int
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
Int
Link copied to clipboard
fun
toInt
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Returns the original version string. But without the optional “v” at the start.
Properties
build
Number
Link copied to clipboard
val
buildNumber
:
Option
<
Long
>
is
Pre
Release
Link copied to clipboard
val
isPreRelease
:
Boolean
major
Link copied to clipboard
val
major
:
Int
minor
Link copied to clipboard
val
minor
:
Int
patch
Link copied to clipboard
val
patch
:
Int
tags
Link copied to clipboard
val
tags
:
ImmutableSet
<
Version.PreReleaseTag
>
timestamp
Link copied to clipboard
val
timestamp
:
Option
<
Instant
>