ExtOutputFilenameGenerator extends OutputFilenameGenerator { public static DateTimeZone getInputTimeZone() throws AdeException { if (s_inputDateTimeZone == null) { final TimeZone inputTimeZone = Ade.getAde().getConfigProperties().getInputTimeZone(); s_inputDateTimeZone = DateTimeZone.forOffsetMillis(inputTimeZone.getRawOffset()); } return s_inputDateTimeZone; }  static void setIntervalLength(long intervalLength); static String getDayFormat(); static DateTimeZone getInputTimeZone(); static DateTimeZone getOutputTimeZone(); static int getIntervalSerialNumber(long intervalEndTime, FramingFlowType framingFlowType); @Override final File getIntervalXmlFile(IAnalyzedInterval analyzedInterval, FramingFlowType framingFlowType); final File getIntervalXmlV2FFile(IAnalyzedInterval analyzedInterval, FramingFlowType framingFlowType); final File getIntervalXmlV2FFileInZIP(IAnalyzedInterval analyzedInterval, FramingFlowType framingFlowType); final File getIntervalXmlV2File(IAnalyzedInterval analyzedInterval, FramingFlowType framingFlowType); final File getIntervalXmlV1File(IAnalyzedInterval analyzedInterval, FramingFlowType framingFlowType); @Override final File getIntervalXmlStorageDir(IAnalyzedInterval analyzedInterval); @Override final File getIntervalXmlFile(String sourceId, Date intervalStart, 
            File customAnalysisOutputPath, FramingFlowType framingFlowType); final String getIntervalXmlFileRelativeToIndex2(Date intervalStart, 
            FramingFlowType framingFlowType); @Override final String getIntervalXmlFileRelativeToIndex(IAnalyzedInterval ai, FramingFlowType framingFlowType); final String getIntervalXmlFileRelativeToIndex(int serialNumber); final File getIntervalXmlStorageDir(String sourceId, Date dateInInterval, File customAnalysisOutputPath); @Override final File getPeriodDir(ISource source, Date periodStartDate); long getIntervalLength(); static final String EXT_INTERVAL_XML_EXTENSION; static final String EXT_INTERVAL_ZIP_EXTENSION; static final String EXT_INTERVAL_XML_FILE_NAME_BASE_FORMAT; static final String EXT_INTERVAL_XML_V2_FILE_NAME_FORMAT; static final String EXT_INTERVAL_XML_V2F_FILE_NAME_FORMAT; static final String EXT_INTERVAL_XML_V2F_FILE_NAME_FORMAT_IN_ZIP; static final String EXT_INTERVAL_XML_V1_FILE_NAME_FORMAT; }
@Test public void testGetInputTimeZone() throws AdeException { TimeZone tz = mock(TimeZone.class); tz.setID("UTC"); assertEquals("Testing if inputTimeZone returns UTC ","UTC",eofg.getInputTimeZone().getID()); }