You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ The library provides a basic set of types for working with date and time:
47
47
-`DatePeriod` is a subclass of `DateTimePeriod` with zero time components,
48
48
it represents a difference between two LocalDate values decomposed into date units.
49
49
-`DateTimeUnit` provides a set of predefined date and time units to use in arithmetic operations on `Instant` and `LocalDate`.
50
-
-`UtcOffset` represents the amount of time the local date/time at a particular time zone differs from the date/time at UTC.
50
+
-`UtcOffset` represents the amount of time the local datetime at a particular time zone differs from the datetime at UTC.
51
51
52
52
### Type use-cases
53
53
@@ -63,7 +63,7 @@ Here is some basic advice on how to choose which of the date-carrying types to u
63
63
rules might change unexpectedly in the future. In this [blog post](https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a-silver-bullet/), you can read more about why it's not always
64
64
a good idea to use `Instant` everywhere.
65
65
66
-
Also, use `LocalDateTime` to decode an `Instant` to its local date-time components for display and UIs.
66
+
Also, use `LocalDateTime` to decode an `Instant` to its local datetime components for display and UIs.
67
67
68
68
- Use `LocalDate` to represent the date of an event that does not have a specific time associated with it (like a birth date).
69
69
@@ -99,7 +99,7 @@ An `Instant` is just a counter of high resolution time intervals since the begin
99
99
To get human readable components from an `Instant` value, you need to convert it to the `LocalDateTime`
100
100
type that represents date and time components without a reference to the particular time zone.
101
101
102
-
The `TimeZone` type provides the rules to convert instants from and to date/time components.
102
+
The `TimeZone` type provides the rules to convert instants from and to datetime components.
0 commit comments