We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am curious if it would be beneficial for this library to establish a standardized class encapsualting two instants.
I cannot currently think of a great name. InstantRange is accurate, but sounds strange. Other candidates are:
InstantRange
You get the picture.
The class would essentially be:
@Serializable data class Period(val start: Instant, val end: Instant) { init { require(end > start) } val duration by lazy { end - start } }
The text was updated successfully, but these errors were encountered:
Duplicate of #34 If you have specific use cases, please describe them there.
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
I am curious if it would be beneficial for this library to establish a standardized class encapsualting two instants.
I cannot currently think of a great name.
InstantRange
is accurate, but sounds strange. Other candidates are:You get the picture.
The class would essentially be:
The text was updated successfully, but these errors were encountered: