Skip to content

Commit

Permalink
feat: Add DateUtils to new Core
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Feb 21, 2025
1 parent 9aed9b2 commit 5883fd4
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 242 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ class AccessTokenUsageInterceptor(
data class ApiCallRecord(val accessToken: String, val date: Long, val responseCode: Int)

companion object {
private const val SIX_MONTHS = 60 * 60 * 24 * 182L // In seconds
private const val SECONDS_IN_A_DAY = 86_400L
private const val SIX_MONTHS = SECONDS_IN_A_DAY * 182L // In seconds
private const val TEN_SECONDS = 10 // In seconds
}
}
238 changes: 0 additions & 238 deletions Legacy/src/main/java/com/infomaniak/lib/core/utils/DateUtils.kt

This file was deleted.

Loading

0 comments on commit 5883fd4

Please sign in to comment.