use of org.threeten.bp.temporal.TemporalAccessor in project sbt-android by scala-android.
the class DebugView method setupBuildSection.
private void setupBuildSection() {
buildNameView.setText(BuildConfig.VERSION_NAME);
buildCodeView.setText(String.valueOf(BuildConfig.VERSION_CODE));
buildShaView.setText(BuildConfig.GIT_SHA);
TemporalAccessor buildTime = ISO_INSTANT.parse(BuildConfig.BUILD_TIME);
buildDateView.setText(DATE_DISPLAY_FORMAT.format(buildTime));
}
use of org.threeten.bp.temporal.TemporalAccessor in project u2020 by JakeWharton.
the class DebugView method setupBuildSection.
private void setupBuildSection() {
buildNameView.setText(BuildConfig.VERSION_NAME);
buildCodeView.setText(String.valueOf(BuildConfig.VERSION_CODE));
buildShaView.setText(BuildConfig.GIT_SHA);
TemporalAccessor buildTime = Instant.ofEpochSecond(BuildConfig.GIT_TIMESTAMP);
buildDateView.setText(DATE_DISPLAY_FORMAT.format(buildTime));
}
Aggregations