Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

Commit 0e4d511

Browse files
author
kud1ing
committed
Updated Lib datetime (markdown)
1 parent cb32262 commit 0e4d511

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

Lib-datetime.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -162,19 +162,45 @@ Options:
162162
* Date/Time coupled to a calendar
163163
* Used by:
164164
* Qt: Gregorian calendar
165+
* Cons:
166+
* ?
167+
* Pros:
168+
* ?
165169
* Date/Time tied to a configurable calendar
166170
* Used by: Boost, Joda
171+
* Cons:
172+
* ?
173+
* Pros:
174+
* ?
167175
* Date/Time independent of a calendar
168176
* Used by: Cocoa
177+
* Cons:
178+
* ?
179+
* Pros:
180+
* ?
169181

170182
### Support for Date/Time without a timezone
183+
184+
When the timezone information is missing, e.g. parsing from a textual representation, there are the following options:
185+
171186
Options:
172187
* support Date/Time with no attached timezone
173188
* Used by:
174189
* Joda: LocalDate, LocalTime, LocalDateTime
175-
* no support Date/Time with no attached timezone
190+
* Cons:
191+
* more complex interfaces/types
192+
* ?
193+
* Pros:
194+
* clear distinction between dates that are comparable and date that are not
195+
* ?
196+
* assume the local timezone if the timezone is not available
176197
* Used by:
177198
* Cocoa
199+
* Cons:
200+
* dates are created that appear to be comparable, but are not. One needs to keep tracks of those dates.
201+
* ?
202+
* Pros:
203+
* ?
178204

179205

180206
### Reference

0 commit comments

Comments
 (0)