This repository was archived by the owner on Oct 9, 2018. It is now read-only.
File tree 1 file changed +27
-1
lines changed
1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -162,19 +162,45 @@ Options:
162
162
* Date/Time coupled to a calendar
163
163
* Used by:
164
164
* Qt: Gregorian calendar
165
+ * Cons:
166
+ * ?
167
+ * Pros:
168
+ * ?
165
169
* Date/Time tied to a configurable calendar
166
170
* Used by: Boost, Joda
171
+ * Cons:
172
+ * ?
173
+ * Pros:
174
+ * ?
167
175
* Date/Time independent of a calendar
168
176
* Used by: Cocoa
177
+ * Cons:
178
+ * ?
179
+ * Pros:
180
+ * ?
169
181
170
182
### 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
+
171
186
Options:
172
187
* support Date/Time with no attached timezone
173
188
* Used by:
174
189
* 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
176
197
* Used by:
177
198
* 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
+ * ?
178
204
179
205
180
206
### Reference
You can’t perform that action at this time.
0 commit comments