First beg for money.
Thursday December 14, 2023 Original Author, Protected Works Mykola Shewchuk.
[email protected]
CHECK AGE OF MAJORITY
If TimeBetween agemajority and birthdate HAS NOT YET ELAPSED, the delta is Greater Than Zero,Positive,TRUE
AgeReason is calculated as Age of
Sixteen Years +1.1 Months Old, approx.
Sixteen Years One Month & Three Days Old.
End If
Suppose AGE < Majority
Both Paths:
AGE < AgeOfReason,
AGE >= AgeOfReason
AGE LT or near Cusp of Majority have filenameformat, a suffix, indicating so.
AGE < Majority
Save Details as Filename identifying person not Age of Majority or on Cusp.
End If Both Paths:
AGE < Majority, OTHERWISE NOT
Regarding Add Calendar Event:
I use Custom Date Format
yyyy-MM-dd 13:01:01
to ensure Calendar Event NOTIFICATION occurs at 1:01PM, not at Midnight!!
TimeBetweenDates LessEqZero means BirthdayAlreadyPassed.
Next year on person’s birthday, Present Age+1 will be accurate.
————————
OTHERWISE, TimeBetweenDates GreaterThanZero means current Birthday [of current calendar year] is still approaching; thus, Natural number.
Next year on person’s birthday, person will have had TWO birthdays: one later this calendar year PLUS a second birthday on the date of birthday +1 year hence.
Regarding Current Age GE JuriReason
DO NOT ASK PERSON NAME UNLESS CURRENT AGE IS GE JuriReason (16)
Prior to Action [Repeat] variable birthdayrecent is date of birthday within current calendar; regardless of whether recent birthday has passed or is yet to occur ON/BEFORE DECEMBER31 of current calendar year.
SideEffect: This [Repeat] loop corrupts value of variable [birthdayrecent], incrementing variable by one year each iteration.
Create reminders for three years
REGARDING POSSIBILITY OF MINORS RUNNING THIS APP:
Do Not add Future Calendar Events regarding Age of Reason whenever current age less than EIGHTEEN.
If Hypothetically eg. loopmax==3, future entries pertaining to nextnewage values smaller than AGE OF REASON (16) such Future Calendar Events WILL NOT be added to Calendar to protect the privacy of a minor.
Conditionally adding future events to calendar.
HERE ARE FOUR VERY ACTIONS THAT
ADD ONE [1] YEAR TO CURRENT YEAR’s BIRTHDAY DATE.
Assign AdjustedDate to BIRTHDAYRECENT
Get Persons Age on THAT NEXT BIRTHDAY
Set Variable nextnewage to Eldest Age.
The First IF comparison is whether the immediate Birthday age will be on person’s
birthday age is AT LEAST AGE OF REASON (16) OR OLDER.
However, to preclude objectionable remark, I INITIALIZE VALUE TO ADULT AGE OF MAJORITY (18), Alberta.
NOW Compare whether the immediate Birthday age will be on person’s Birthday is ADULT (18) AGE OF MAJORITY OR OLDER. Alberta.
End If New Age GTE JuriMajority [18+]
Ending New Age GTE JuriReason [18+]
Entering New Age LT JuriReason [LessThan 18 in present implementation.]
Because Age < JuriReason,
DON’T ADD FUTURE EVENT TO CALENDAR!
NOP
Version 43 FIXED BUG. Added SAVE FILE Action after PREPEND to FILE, because I discovered appended file is not written to filesystem unless I then SAVE FILE.
Version 44 found a substantive bug. Was generating duplicate Calendar events due to a malstructured IF..OTHERWISE FIX.