Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
odakyuToiletSignage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kddi
odakyuToiletSignage
Commits
3af21425
Commit
3af21425
authored
Feb 01, 2018
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'kddi/odakyuToiletSignage_1.0.2_leej' into 'master'
Kddi/odakyu toilet signage 1.0.2 leej See merge request
!3
parents
6cf98100
b985dc3b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/build.gradle
+1
-1
app/src/main/java/jp/odakyu/toiletsignage/task/UpdateToiletInfoTask.java
+1
-1
app/src/main/java/jp/odakyu/toiletsignage/util/DateTimeFormat.java
+2
-2
No files found.
app/build.gradle
View file @
3af21425
...
...
@@ -15,7 +15,7 @@ android {
minSdkVersion
23
targetSdkVersion
26
versionCode
1
versionName
"1.0.
1
"
versionName
"1.0.
2
"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
}
buildTypes
{
...
...
app/src/main/java/jp/odakyu/toiletsignage/task/UpdateToiletInfoTask.java
View file @
3af21425
...
...
@@ -112,7 +112,7 @@ public class UpdateToiletInfoTask extends TimerTask {
JSONObject
jsonObject
=
new
JSONObject
(
jsonString
);
Long
ntpTimeMillis
=
(
long
)
((
Double
)
jsonObject
.
get
(
"st"
)
*
1000
);
String
cmd
=
"date "
+
DateTimeUtil
.
toString
(
new
Timestamp
(
ntpTimeMillis
),
DateTimeFormat
.
MM
DD
HHmmyyyyss__colon
);
String
cmd
=
"date "
+
DateTimeUtil
.
toString
(
new
Timestamp
(
ntpTimeMillis
),
DateTimeFormat
.
MM
dd
HHmmyyyyss__colon
);
Logger
.
d
(
TAG
,
"Current Date : "
+
DateTimeUtil
.
toString
(
DateTimeUtil
.
getCurrentDate
(),
DateTimeFormat
.
yyyyMMddHHmmss_slash
));
Logger
.
d
(
TAG
,
"Command=%s, NtpDate=%s"
,
cmd
,
DateTimeUtil
.
toString
(
new
Timestamp
(
ntpTimeMillis
),
DateTimeFormat
.
yyyyMMddHHmmss_slash
));
...
...
app/src/main/java/jp/odakyu/toiletsignage/util/DateTimeFormat.java
View file @
3af21425
...
...
@@ -265,8 +265,8 @@ public class DateTimeFormat {
*/
public
static
final
String
HHmmssSSS_colon
=
"HH:mm:ss.SSS"
;
/**
* 時間を示します。"MM
DD
HHmmyyyy.ss"
* 時間を示します。"MM
dd
HHmmyyyy.ss"
* @since 1.0.0
*/
public
static
final
String
MM
DDHHmmyyyyss__colon
=
"MMDD
HHmmyyyy.ss"
;
public
static
final
String
MM
ddHHmmyyyyss__colon
=
"MMdd
HHmmyyyy.ss"
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment