You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While waiting for a better solution, I'll settle with this dirty, foul workaround.
constructor():this(Unit.let{
var now =Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault()).date
val year = now.year
var currentWeek =0;
while(now.year == year) {
currentWeek++;
now = now.minus(DateTimeUnit.WEEK)
}
currentWeek to year
})
What's a counter part of the following code snippet?
The text was updated successfully, but these errors were encountered: