Remove android.text.format.Time usage. #467#646
Conversation
|
The changed A concrete issue now is that now there is a crash with the current state of Is this check still relevant or shall we remove it start to allow floating times? (Besides reviewing |
|
There are several new They are yet to be reviewed together with their place of usage, so they may change. As far as I know gradle builds multi-module projects faster now compared to having the same code in single-module because of incremental builds (doesn't recompile untouched modules). So from this point of view it is beneficial to modularize the project more. What do you think, are you okay with creating that datetime module? Once these classes seemed to be settled here, meaning we are sure they are needed, this could be taken into a separate ticket, where tests can be added, too. |
|
Note that as per current state the new jems types are not needed, only |
|
In order to break this up to smaller pull requests meaningfully, I am going to create a ticket for the new DateTimeFieldAdapters (Combined and Simple). I will continue on a new branch with the stripped down changeset for that pull request and put this branch on hold. |
46e013b to
6dfa8a1
Compare
@dmfs I am submitting this just to start discussing the changes, what to extract, etc. I haven't reviewed the changeset yet.
Notes, questions, comments:
1. New classes, types to for jems:
Conditional,MapFlattened(flatmap),ProcedureI am going to add tickets and pull requests in jems, we can discuss the names, details there.
-> submitted and listed them for next jems release ticket: Release version 1.16 jems#147
-> they may not be needed after all, just Procedure is used currently (that doesn't required a new jems necessarily)
2. Unused classes that used
Time:NotAfter,NotBefore,ShiftIfAfter,ShiftTime- okay to remove them? -> I've removed them, let me know if they should be kept instead3. Remove the
if start or due then timezone != nullvalidation inValidatingallowing floating times? Remove android.text.format.Time usage. #467 #646 (comment)4. General (not provider related)
Single<DateTime>classes to new datetime module? And separate ticket, once they are settled. Remove android.text.format.Time usage. #467 #646 (comment).. there are many more questions, general comments, I will put them down later.
I also plan to change some of the new classes, for example to introduce
Evaluateddecorator whereCursoris passed in. Also not use that newContainerArgumentbut theSingle<>decoration as you did in the provider.