Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

Our legacy app relies heavily on JakeWharton’s ThreeTenABP: https://github.com/JakeWharton/ThreeTenABP We know this library is no longer maintained and should eventually be migrated away from. However,...
Cheok Yan Cheng's user avatar
0 votes
1 answer
81 views

Im working with this library : implementation("com.github.thellmund.Android-Week-View:core:5.2.4") In my calendar adapter im using this method : override fun onRangeChanged(...
Ismael Toro's user avatar
1 vote
2 answers
485 views

In my country, we no longer observe Daylight Saving Time. We now use Standard Time year-round. Therefor a lot of devices has run into problem. I used different approaches to fix this but just one of ...
Farid's user avatar
  • 1,116
0 votes
1 answer
442 views

I am using the followng library threetenbp I am fetching a date/time from our API response which is in string format The time I am being sent is this Sep 30, 2023, 4:59:00 PM So I need to convert that ...
ant2009's user avatar
  • 22.8k
2 votes
1 answer
473 views

I'm migrating an old code base away from the threeten backport library to use java.time instead. There is a test method that no longer works, but I don't know how to fix it. Here is the class before ...
AndroidDev's user avatar
  • 21.4k
4 votes
1 answer
2k views

I have the following date which we get from an API 2022-11-23 06:12:31 I am wondering if my approach is the best. And I need to display in this format 23 November 2022 I am using substringbefore to ...
ant2009's user avatar
  • 22.8k
1 vote
0 answers
33 views

Hi I am trying to use org.threeten.bp library and format a date string to zonnedDateTime but it does not work. val dateFormatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd&...
BRDroid's user avatar
  • 4,468
7 votes
1 answer
2k views

Rendering the Jetpack Compose Preview fails when we have some code calling LocalDate.now() from it. We have tried setting a locale on the preview but that does not help, and we have not found any ...
Morten Holmgaard's user avatar
0 votes
1 answer
1k views

I know that there is a lot of similar questions like this but cant apply these solutions on them. i am trying to transform date that i am getting from server int this format: 2019-07-26T02:39:32....
gojic's user avatar
  • 363
-1 votes
2 answers
2k views

In my JSON response I receive the date as a timestamp value, e.g. below: "dt":1620345600 I am trying to convert this into a LocalDate using the ThreeTen BP library. I have tried to apply a ...
Murphler's user avatar
  • 193
0 votes
1 answer
555 views

What would be the best way to go about this. I am using 2 different APIs and one returns a date as a String and the other returns date as an Int timestamp in the format of e.g. 162000360 I was using ...
Murphler's user avatar
  • 193
2 votes
1 answer
375 views

Given the following ThreeTenBp based DateFormatter: class DateFormatter private constructor() { private val dateShortTimeShortFormatter = org.threeten.bp.format.DateTimeFormatter....
JJD's user avatar
  • 52.8k
2 votes
1 answer
1k views

Calling localDate.getDayOfWeek().getDisplayName in my UnitTest running on CircleCI returns a different value compared to running the UnitTest locally. Here is the simplified sample code: LocalDate ...
goemic's user avatar
  • 1,407
0 votes
1 answer
810 views

I am using the 'com.jakewharton.threetenabp:threetenabp:1.2.4' library for using Newer features DateTimeFormatter for lower apis version. I have a situation where I have to first convert the the date ...
Hasnain Ghias's user avatar
0 votes
1 answer
658 views

I try to parse date string but always get wrong month. Here's my code. This is code to select date from calender @OnClick(R.id.tedit_tgllahir_addnew) void showTimeDialog(){ calendar = Calendar....
Tiramochi's user avatar

15 30 50 per page
1
2 3 4 5
7