File tree 4 files changed +7
-6
lines changed
kotlin/com/g00fy2/androidjavatimedemo
4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ android {
14
14
versionName = " 1.0"
15
15
}
16
16
buildTypes {
17
+ getByName(" debug" ) {
18
+ applicationIdSuffix = " .threeten"
19
+ }
17
20
getByName(" release" ) {
21
+ applicationIdSuffix = " .threeten"
18
22
isShrinkResources = true
19
23
isMinifyEnabled = true
20
24
proguardFiles(getDefaultProguardFile(" proguard-android-optimize.txt" ), " proguard-rules.pro" )
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import kotlinx.coroutines.launch
14
14
import org.threeten.bp.ZoneId
15
15
import org.threeten.bp.format.DateTimeFormatter
16
16
import org.threeten.bp.format.FormatStyle
17
+ import java.time.ZoneId
18
+ import java.time.format.FormatStyle
17
19
18
20
class MainActivity : AppCompatActivity () {
19
21
Original file line number Diff line number Diff line change 1
1
<resources xmlns : tools =" http://schemas.android.com/tools" >
2
- <string name =" app_name" >AndroidJavaTimeDemo</string >
2
+ <string name =" app_name" >AndroidJavaTimeDemo ThreeTen </string >
3
3
4
4
<string-array name =" test_date_strings" tools : ignore =" TypographyDashes" >
5
5
<item >2011-12-03T10:15:30+01:00</item >
6
6
<item >2011-12-03T10:15:30</item >
7
- <item >2011-12-03+01:00</item >
8
7
<item >2011-12-03</item >
9
8
</string-array >
10
9
</resources >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments