Android Time Utils
Properties
Functions
Ensures that a given DateListProperty either
Ensures that a given DateProperty either
Takes a formatted string as provided by the Android calendar provider and returns a DateListProperty constructed from these values.
Checks and fixes Event.duration values with incorrect format which can't be parsed by ical4j. Searches for values like "1H" and "3M" and groups them together in a standards-compliant way.
Concatenates, if necessary, multiple RDATE/EXDATE lists and converts them to a formatted string which Android calendar provider can process.
Concatenates, if necessary, multiple RDATE/EXDATE lists and converts them to a formatted string which OpenTasks can process. OpenTasks expect a list of RFC 5545 DATE ("yyyymmdd") or DATE-TIME ("yyyymmddZ") values, where the time zone is stored in a separate field.
Returns the time-zone ID for a given date or date-time that should be used to store it in the Android calendar provider.