test_class.file: openmeetings-util/src/test/java/org/apache/openmeetings/util/TestCalendarPatterns.java
test_class.identifier: TestCalendarPatterns
test_case.body: @Test
  	void backupDateParseTest() {
  		Date d = CalendarPatterns.parseImportDate("1360832400000");
  		assertNotNull(d, "Date parsed should not be NULL");
  	}
test_case.class_method_signature: TestCalendarPatterns.backupDateParseTest()
test_case.full_signature: @Test void backupDateParseTest()
test_case.identifier: backupDateParseTest
test_case.invocations: parseImportDate assertNotNull
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void backupDateParseTest()
focal_class.declarator: log = LoggerFactory.getLogger(CalendarPatterns.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(CalendarPatterns.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: dateFormat__ddMMyyyyHHmmss = FastDateFormat.getInstance("dd.MM.yyyy HH:mm:ss")
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat dateFormat__ddMMyyyyHHmmss = FastDateFormat.getInstance("dd.MM.yyyy HH:mm:ss");
focal_class.type: FastDateFormat
focal_class.var_name: dateFormat__ddMMyyyyHHmmss
focal_class.declarator: dateFormat__ddMMyyyy = FastDateFormat.getInstance("dd.MM.yyyy")
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat dateFormat__ddMMyyyy = FastDateFormat.getInstance("dd.MM.yyyy");
focal_class.type: FastDateFormat
focal_class.var_name: dateFormat__ddMMyyyy
focal_class.declarator: dateFormat__ddMMyyyyBySeparator = FastDateFormat.getInstance("dd-MM-yyyy")
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat dateFormat__ddMMyyyyBySeparator = FastDateFormat.getInstance("dd-MM-yyyy");
focal_class.type: FastDateFormat
focal_class.var_name: dateFormat__ddMMyyyyBySeparator
focal_class.declarator: dateFormat__yyyyMMddHHmmss = FastDateFormat.getInstance("yyyy.MM.dd HH:mm:ss")
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat dateFormat__yyyyMMddHHmmss = FastDateFormat.getInstance("yyyy.MM.dd HH:mm:ss");
focal_class.type: FastDateFormat
focal_class.var_name: dateFormat__yyyyMMddHHmmss
focal_class.declarator: STREAM_DATE_FORMAT = FastDateFormat.getInstance("yyyy_MM_dd_HH_mm_ss")
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat STREAM_DATE_FORMAT = FastDateFormat.getInstance("yyyy_MM_dd_HH_mm_ss");
focal_class.type: FastDateFormat
focal_class.var_name: STREAM_DATE_FORMAT
focal_class.declarator: FULL_DF_PATTERN = "dd.MM.yyyy HH:mm:ss z (Z)"
focal_class.modifier: public static final
focal_class.original_string: public static final String FULL_DF_PATTERN = "dd.MM.yyyy HH:mm:ss z (Z)";
focal_class.type: String
focal_class.var_name: FULL_DF_PATTERN
focal_class.declarator: ISO8601_FULL_FORMAT_STRING = "yyyy-MM-dd'T'HH:mm:ssZ"
focal_class.modifier: public static final
focal_class.original_string: public static final String ISO8601_FULL_FORMAT_STRING = "yyyy-MM-dd'T'HH:mm:ssZ";
focal_class.type: String
focal_class.var_name: ISO8601_FULL_FORMAT_STRING
focal_class.declarator: ISO8601_DATETIME_FORMAT_STRING = "yyyy-MM-dd'T'HH:mm:ss"
focal_class.modifier: public static final
focal_class.original_string: public static final String ISO8601_DATETIME_FORMAT_STRING = "yyyy-MM-dd'T'HH:mm:ss";
focal_class.type: String
focal_class.var_name: ISO8601_DATETIME_FORMAT_STRING
focal_class.declarator: ISO8601_DATE_FORMAT_STRING = "yyyy-MM-dd"
focal_class.modifier: public static final
focal_class.original_string: public static final String ISO8601_DATE_FORMAT_STRING = "yyyy-MM-dd";
focal_class.type: String
focal_class.var_name: ISO8601_DATE_FORMAT_STRING
focal_class.declarator: FULL_DATE_FORMAT = FastDateFormat.getInstance(FULL_DF_PATTERN)
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat FULL_DATE_FORMAT = FastDateFormat.getInstance(FULL_DF_PATTERN);
focal_class.type: FastDateFormat
focal_class.var_name: FULL_DATE_FORMAT
focal_class.declarator: ISO8601_FULL_FORMAT = FastDateFormat.getInstance(ISO8601_FULL_FORMAT_STRING)
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat ISO8601_FULL_FORMAT = FastDateFormat.getInstance(ISO8601_FULL_FORMAT_STRING);
focal_class.type: FastDateFormat
focal_class.var_name: ISO8601_FULL_FORMAT
focal_class.declarator: ISO8601_DATETIME_FORMAT = FastDateFormat.getInstance(ISO8601_DATETIME_FORMAT_STRING)
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat ISO8601_DATETIME_FORMAT = FastDateFormat.getInstance(ISO8601_DATETIME_FORMAT_STRING);
focal_class.type: FastDateFormat
focal_class.var_name: ISO8601_DATETIME_FORMAT
focal_class.declarator: ISO8601_DATE_FORMAT = FastDateFormat.getInstance(ISO8601_DATE_FORMAT_STRING)
focal_class.modifier: public static final
focal_class.original_string: public static final FastDateFormat ISO8601_DATE_FORMAT = FastDateFormat.getInstance(ISO8601_DATE_FORMAT_STRING);
focal_class.type: FastDateFormat
focal_class.var_name: ISO8601_DATE_FORMAT
focal_class.file: openmeetings-util/src/main/java/org/apache/openmeetings/util/CalendarPatterns.java
focal_class.identifier: CalendarPatterns
focal_class.class_method_signature: CalendarPatterns.CalendarPatterns()
focal_class.full_signature: private  CalendarPatterns()
focal_class.identifier: CalendarPatterns
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  CalendarPatterns()
focal_class.class_method_signature: CalendarPatterns.getDateByMiliSeconds(Date t)
focal_class.full_signature: public static String getDateByMiliSeconds(Date t)
focal_class.identifier: getDateByMiliSeconds
focal_class.modifiers: public static
focal_class.parameters: (Date t)
focal_class.return: String
focal_class.signature: String getDateByMiliSeconds(Date t)
focal_class.class_method_signature: CalendarPatterns.getDateWithTimeByMiliSeconds(Date t)
focal_class.full_signature: public static String getDateWithTimeByMiliSeconds(Date t)
focal_class.identifier: getDateWithTimeByMiliSeconds
focal_class.modifiers: public static
focal_class.parameters: (Date t)
focal_class.return: String
focal_class.signature: String getDateWithTimeByMiliSeconds(Date t)
focal_class.class_method_signature: CalendarPatterns.getDateWithTimeByMiliSecondsWithZone(Date t)
focal_class.full_signature: public static String getDateWithTimeByMiliSecondsWithZone(Date t)
focal_class.identifier: getDateWithTimeByMiliSecondsWithZone
focal_class.modifiers: public static
focal_class.parameters: (Date t)
focal_class.return: String
focal_class.signature: String getDateWithTimeByMiliSecondsWithZone(Date t)
focal_class.class_method_signature: CalendarPatterns.getExportDate(Date t)
focal_class.full_signature: public static String getExportDate(Date t)
focal_class.identifier: getExportDate
focal_class.modifiers: public static
focal_class.parameters: (Date t)
focal_class.return: String
focal_class.signature: String getExportDate(Date t)
focal_class.class_method_signature: CalendarPatterns.parseImportDate(String dateString)
focal_class.full_signature: public static Date parseImportDate(String dateString)
focal_class.identifier: parseImportDate
focal_class.modifiers: public static
focal_class.parameters: (String dateString)
focal_class.return: Date
focal_class.signature: Date parseImportDate(String dateString)
focal_class.class_method_signature: CalendarPatterns.validDate(String testdate)
focal_class.full_signature: private static Date validDate(String testdate)
focal_class.identifier: validDate
focal_class.modifiers: private static
focal_class.parameters: (String testdate)
focal_class.return: Date
focal_class.signature: Date validDate(String testdate)
focal_class.class_method_signature: CalendarPatterns.validDate(FastDateFormat sdf, String testdate)
focal_class.full_signature: private static Date validDate(FastDateFormat sdf, String testdate)
focal_class.identifier: validDate
focal_class.modifiers: private static
focal_class.parameters: (FastDateFormat sdf, String testdate)
focal_class.return: Date
focal_class.signature: Date validDate(FastDateFormat sdf, String testdate)
focal_class.class_method_signature: CalendarPatterns.getDateWithTimeByMiliSecondsAndTimeZone(Date t, TimeZone timezone)
focal_class.full_signature: public static String getDateWithTimeByMiliSecondsAndTimeZone(Date t, TimeZone timezone)
focal_class.identifier: getDateWithTimeByMiliSecondsAndTimeZone
focal_class.modifiers: public static
focal_class.parameters: (Date t, TimeZone timezone)
focal_class.return: String
focal_class.signature: String getDateWithTimeByMiliSecondsAndTimeZone(Date t, TimeZone timezone)
focal_class.class_method_signature: CalendarPatterns.getTimeForStreamId(Date t)
focal_class.full_signature: public static String getTimeForStreamId(Date t)
focal_class.identifier: getTimeForStreamId
focal_class.modifiers: public static
focal_class.parameters: (Date t)
focal_class.return: String
focal_class.signature: String getTimeForStreamId(Date t)
focal_class.class_method_signature: CalendarPatterns.parseDate(String dateString)
focal_class.full_signature: public static Date parseDate(String dateString)
focal_class.identifier: parseDate
focal_class.modifiers: public static
focal_class.parameters: (String dateString)
focal_class.return: Date
focal_class.signature: Date parseDate(String dateString)
focal_class.class_method_signature: CalendarPatterns.parseDateBySeparator(String dateString)
focal_class.full_signature: public static Date parseDateBySeparator(String dateString)
focal_class.identifier: parseDateBySeparator
focal_class.modifiers: public static
focal_class.parameters: (String dateString)
focal_class.return: Date
focal_class.signature: Date parseDateBySeparator(String dateString)
focal_class.class_method_signature: CalendarPatterns.parseDateWithHour(String dateString)
focal_class.full_signature: public static Date parseDateWithHour(String dateString)
focal_class.identifier: parseDateWithHour
focal_class.modifiers: public static
focal_class.parameters: (String dateString)
focal_class.return: Date
focal_class.signature: Date parseDateWithHour(String dateString)
focal_method.body: public static Date parseImportDate(String dateString) {
  		try {
  			Date resultDate = validDate(dateFormat__ddMMyyyyHHmmss, dateString);
  
  			if (resultDate != null) {
  				return resultDate;
  			}
  
  			resultDate = validDate(dateFormat__ddMMyyyy, dateString);
  
  			if (resultDate != null) {
  				return resultDate;
  			}
  
  			resultDate = validDate(dateString);
  
  			if (dateString != null) {
  				return resultDate;
  			}
  
  			log.error("parseImportDate:: Could not parse date string {}", dateString);
  		} catch (Exception e) {
  			log.error("parseImportDate", e);
  		}
  		return null;
  	}
focal_method.class_method_signature: CalendarPatterns.parseImportDate(String dateString)
focal_method.full_signature: public static Date parseImportDate(String dateString)
focal_method.identifier: parseImportDate
focal_method.invocations: validDate validDate validDate error error
focal_method.modifiers: public static
focal_method.parameters: (String dateString)
focal_method.return: Date
focal_method.signature: Date parseImportDate(String dateString)