Skip to content

Releases: talhahasanzia/expiry-marker

v1.0.0

05 Apr 17:05
Compare
Choose a tag to compare
  • @Expiry( "02-04-2023" ) annotation to mark expiry dates as dd-MM-yyyy
  • Shows detailed error as

@Expiry -> Feature expired: "someFlagFromSdk". Expiry: Wed Mar 02 00:00:00 PKT 2022 - Today: Mon Apr 03 06:36:35 PKT 2023. Can be found at : /<ABSOLUTE_PATH>/expiry/marker/FeatureFlags.kt:8

Has following limitations:

  • Format of date is always dd-MM-yyyy
  • Time is considered 00:00 Hours local time zone. "02-04-2023" means 2 April 12:00am.
  • Date check depends on system running, so if system time/date is not correct this will behave unexpectedly.