Comments (5)
I think this is some change that isn't finished yet, but which is already pushed to the develop
branch :-)
The reason why I bumped into this, is because I was planning to integrate other dates as well. Anniversaries for one, but also custom dates. Not to celebrate at all - I'm keeping dates of deceive as well - but I'd like to get reminded about those dates as well to be able to ease the pain on the anniversary date of a lost one.
So what I see is that you especially introduced a birthday class which I'd like to convert to a more general "ContactEvent" ;-) (I know, you came from that one)
But since the birthdays are fetched in BirthdayDatabaseRefresher, in order to require only one iteration over the contacts, I'd like to retrieve other dates there as well - meaning it isn't only a BirthdayDatabaseRefresher...
from memento-calendar.
How did that one slipped through? π
That is indeed be the problem as you mention. I'll work and get it done asap
The Birthday
class is not new. It is used to represent the date of Birth rather than the celebration (the name is indeed misleading). The is in fact a ContactEvent
class which represents the actual celebration of an event. For Birthdays you need both the contact's year of birth and their upcoming birthday so that you can calculate the age.
As you mentioned the BirthdayDatabaseRefresher
could be changed so that it fetches and handles all events from the device rather than just contacts.
I really like the feature(s) you mentioned, and once again thank you so much for your contributions to the project :)
from memento-calendar.
I am working on a PR that reduces all the different variations of date classes down to one, in an attempt to simplify things.
In my PR I have removed Birthday
, AnnualDate
, ParsedDate
and renamed DayDate
to Date
which is the single date class to handle dates, even if that has a year or not. No more weird Date interfaces and multiple date classes. Also, since the Birthday
class is getting ditched, the date of birth will be represented as an Optional<Date>
field in the Contact class.
I hope this clear out things a lot. I am planning of pushing this branch later in the day
from memento-calendar.
Great! I guess the Optional<Date>
will probably have to become a List<Optional<Date>>
if we want to keep multiple dates for a contact. But I'm going to wait for the update anyway. No rush, I'll be busy on other stuff anyway (daytime job, family, you know ;-) )
from memento-calendar.
It is probably even simpler than that :)
There is no place of the app that cases the Birthdays of any contact right now. All data are stored in the database and queried from there when needed. The Birthday
object was not the celebration event itself, but a date of when the contact was born, so that we can get their age for the running year.
Anyhow, I'm closing this as it was fixed as part of #55
from memento-calendar.
Related Issues (20)
- Today Widget does not get updated after updating its looks HOT 2
- Facebook login error HOT 3
- Reduce the CI Warnings and Errors to 0/0
- Introduce bank holidays for different locales HOT 1
- Skipped [%s] because it had no variations HOT 1
- Use the ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS for newer Android devices HOT 2
- [Beta Feedback] Tapping on the 4x1 widget goes to the Main screen instead of the contact screen HOT 1
- [Beta feedback] Donate Activity finishes unexpectedly HOT 1
- Include Hungarian Namedays HOT 1
- User image is not uploading when you clicked image from device camera and clicked image quality is also very poor. HOT 3
- Bug in app calendar which leads app to crash. HOT 2
- Bug report of Memento Calendar Application HOT 1
- Icon/Logo Proposal HOT 1
- Max date doesn't get updated when 'Include Year' gets toggled HOT 1
- β οΈFile google-services.json is missing HOT 1
- Feature: Edit/Delete HOT 7
- Excess spacing on first row HOT 1
- Adding a new contact bday w/o photo crashes app HOT 1
- icon for memento- calendar HOT 2
- Frequently Asked Question (FAQ) Proposal HOT 3
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 memento-calendar.