yashovardhan99 / HealersDiary

Healers Diary - an android app for healers to keep track of their patients and help in instant billing. The app is currently in development.
https://play.google.com/store/apps/details?id=com.yashovardhan99.healersdiary&utm_source=github&utm_campaign=github&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1
Apache License 2.0
8 stars 0 forks source link

Improve use of java.time libraries in different flows #59

Closed yashovardhan99 closed 2 years ago

yashovardhan99 commented 2 years ago

This PR is related to #38. It aims to improve use of java.time libraries such as LocalDateTime instead of using older java.util classes like Date and Calendar. This PR migrates the following classes to use java.time libraries, replacing uses of older classes:-

File name Commit Calendar and Date references remaining
NewHealingFragment.kt a85adb80938474c66fe41d4cc6df42412f96cd3d 0 🟢
CreateActivityViewModel.kt a85adb80938474c66fe41d4cc6df42412f96cd3d 0 🟢
NewPaymentFragment.kt a85adb80938474c66fe41d4cc6df42412f96cd3d 0 🟢
yashovardhan99 commented 2 years ago

This now closes #38. Only :online: module has a couple uses of java.util.Date, mainly because it is using getDate() to get the timestamp from firebase.