Comments (2)
Please read https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#date--time-arithmetic
If you have some specific code that needs LocalTime
arithmetics, please share it here or on the Kotlin Slack, and we'll help you reach an idiomatic and robust solution.
from kotlinx-datetime.
Sorry, I did not see this section in the documentation 😓
Seems fine to me, I will use Instant
for arithmetics!
from kotlinx-datetime.
Related Issues (20)
- The parsing API accepts non-ASCII digits
- Support WasmWasi HOT 1
- Is KMM still possible for apps that supports SDK 21? HOT 3
- Inherit the specified TimeZone when converting between Instant and LocalDateTime using toInstant and toLocalDateTime?
- How to get epoch milliseconds of start of the day in UTC? HOT 2
- What is the purpose of specifying TimeZone? HOT 2
- Add a dayOfYear option HOT 3
- The same serial descriptor name is used for several serializers
- Crash - Fatal Exception: java.lang.NoClassDefFoundError HOT 1
- Decide what to do with deprecated time zones
- Precision loss for NSDate HOT 5
- Easier ways to analyze a `DateTimePeriod` instance HOT 3
- Support obtaining the system timezone on old Debian-based distributions HOT 1
- Make admissible ranges the same on all platforms
- How can I parse the timestamp like "yyyyMMddHHmmss[ Z]" (Z is optional) with ktx-datetime? HOT 1
- fun LocalDate.atEndOfDayIn(timeZone: TimeZone): Instant HOT 4
- Consider a new name for `TimeZone.of` HOT 1
- `Instant` support Chrono fields HOT 4
- NSDate.toKotlinInstant off by 1 millisecond HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlinx-datetime.