Skip to content

Conversation

@lemonboston
Copy link
Contributor

@lemonboston lemonboston commented Jan 25, 2018

This pull requests adds two FieldAdapters:
TimestampDateTimeFieldAdapter - for fields that only use a timestamp
CombinedDateTimeFieldAdapter - for combined date-time fields

They are not wired in yet here.

Many additional types, classes have been added for the implementation, to support code re-use and to move towards having every date-time interpretation code/logic defined only at one place in the code base.

There is already a DateTimeFieldAdapter for the other type of FieldAdapter (org.dmfs.provider.tasks.model.adapters.FieldAdapter) in the codebase, the next step could be to update that with the classes used here, while also reviewing that it interprets date-times the same way.
After that we could wire in the new FieldAdapters, which will probably mean the need to remove Time at the same time from almost everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants