use of org.threeten.bp.ZoneOffset in project open-event-android by fossasia.
the class ScheduleFragment method onResume.
@Override
public void onResume() {
super.onResume();
// showing timezone with offset.
ZoneId zoneId = DateConverter.getZoneId();
ZoneOffset zoneOffset = zoneId.getRules().getOffset(Instant.now());
setSubtitle("(GMT" + zoneOffset.toString() + ")");
}
Aggregations