Comments (2)
I wasn't planning on it. Do you have specific use cases in mind?
I've been wanting to make the library closer to the RFC 5545 spec for some time now. However it's not always easy to do without sacrificing backwards compatibility. Ideally I should've used from the start a third-party library that fully implements the spec to provide the recurrence rule and recurrence finding logic. That would've saved me a headache. But I wasn't aware of the RFC spec back then. Implementing hours, minutes and seconds also implies having to think about time zones, daylight savings, leap seconds, etc. which would add a lot of complexity. (I'm already working on time zones though).
from recurpickerlib.
@maltaisn thanks for the reply. I have a personal app that allows users to set notifications. When I started out, I also did not know about any RFCs or anything so recurrences in the app are currently only very basic (i.e. every x minutes, hours, seconds etc) and the input is just a simple edit text.
Your solution not only looks much better but also covers more advance recurrences so I thought to ask you about the plans in case you had planned on supporting it before I wrote something custom.
Also yeah timezone/leap stuff is just about the worst thing ever. For my app, I was able to fix a lot of issues related to these by leveraging Java8 Time stuff (like ZonedDateTime) directly since AGP/Android Studio 4.0.0 supports desugaring of Java 8 code so apps can use it Java 8 Time directly now
from recurpickerlib.
Related Issues (20)
- Outdated documentation
- Simplify documentation for retriving recurrence index HOT 1
- NullPointerException when not setting date formatter HOT 1
- Compatibility with material themes HOT 13
- Determine how many days are selected for weekly repetition. HOT 2
- Listeners instead of TargetFragment? HOT 1
- Recurrence#findRecurrences(long fromDate, long toDate) HOT 1
- Computation error in `findRecurrences`? HOT 6
- RecurrencePickerDialog showing different values in textview and datepicker HOT 1
- Forgot to push v1.6.0 to public repo? HOT 2
- Computation error in findRecurrences HOT 1
- Animating Dialog HOT 1
- Recurrence At a specific date of month HOT 1
- Not able to use library with java project HOT 2
- Recurrence picker dialog not working on API 15 HOT 1
- Recurrence Object and Serialization to/from non-Android HOT 2
- Recurrence(Recurrence.Period.WEEKLY) String Invalid HOT 1
- CustomPicker does not conform to Settings specified in RecurrencePickerSettings HOT 1
- Day selection UI displays incorrectly in small screens HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recurpickerlib.