19 package org.sleuthkit.autopsy.timeline.ui;
 
   21 import java.time.ZoneOffset;
 
   22 import java.util.Date;
 
   23 import java.util.TimeZone;
 
   24 import javafx.beans.value.ObservableValue;
 
   25 import javafx.fxml.FXML;
 
   26 import javafx.scene.control.RadioButton;
 
   27 import javafx.scene.control.TitledPane;
 
   28 import javafx.scene.control.Toggle;
 
   29 import javafx.scene.control.ToggleGroup;
 
   30 import org.openide.util.NbBundle;
 
   50         final String 
id = ZoneOffset.ofTotalSeconds(timeZone.getOffset(System.currentTimeMillis()) / 1000).getId();
 
   51         final String timeZoneString = 
"(GMT" + (
"Z".equals(
id) ? 
"+00:00" : id) + 
") " + timeZone.getID() + 
" [" + timeZone.getDisplayName(timeZone.observesDaylightTime() && timeZone.inDaylightTime(
new Date()), TimeZone.SHORT) + 
"]"; 
 
   52         return timeZoneString;
 
   56     @NbBundle.Messages({
"TimeZonePanel.title=Display Times In:"})
 
   58         setText(Bundle.TimeZonePanel_title());
 
   60         localRadio.setText(NbBundle.getMessage(
this.getClass(), 
"TimeZonePanel.localRadio.text"));
 
   61         otherRadio.setText(NbBundle.getMessage(
this.getClass(), 
"TimeZonePanel.otherRadio.text"));
 
   64         localOtherGroup.selectedToggleProperty().addListener(
 
   65                 (ObservableValue<? extends Toggle> observable, Toggle oldValue, Toggle newValue) -> {
 
   66                     if (newValue == localRadio) {
 
static String getTimeZoneString(final TimeZone timeZone)
static synchronized void setTimeZone(TimeZone timeZone)
ToggleGroup localOtherGroup
static void construct(Node node, String fxmlFileName)