GithubHelp home page GithubHelp logo

Comments (2)

maltaisn avatar maltaisn commented on September 2, 2024

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.

jdvp avatar jdvp commented on September 2, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.