ursus
06/12/2026, 5:38 PMinstant.plus(
value = 30,
unit = DateTimeUnit.DAY,
timeZone = currentTimeZone,
)
vs
instant.plus(30.days)
Both seem to work, so I'm not sure what's the first one about
I mostly want this to compare against a thresholdsjw
06/12/2026, 5:44 PMursus
06/12/2026, 5:48 PMval gracePeriod = activation.plus(30.days)
is this the correct thing to do or not?jw
06/12/2026, 5:49 PMjw
06/12/2026, 5:50 PMursus
06/12/2026, 5:51 PMduration variant as a good default?jw
06/12/2026, 5:52 PMjw
06/12/2026, 5:52 PMursus
06/12/2026, 5:55 PMursus
06/12/2026, 5:55 PM