test_class.file: JavaElasticSearchExperiment/src/test/java/utils/DateUtilitiesTest.java
test_class.identifier: DateUtilitiesTest
test_case.body: @Test
      public void generated_date_has_given_timezone_when_given_localdatetime_and_timezone()  throws Exception {
          LocalDate localDate = LocalDate.of(2013, 1, 1);
          LocalTime localTime = LocalTime.of(0, 30, 0, 0);
  
  
          LocalDateTime dateTime = localDate.atTime(localTime);
  
          ZoneOffset offset = ZoneOffset.ofHours(1);
  
          OffsetDateTime zonedDateTime = dateTime.atOffset(offset);
  
          Date expectedDate = DateUtilities.from(dateTime, offset);
  
          Assert.assertEquals(zonedDateTime.toInstant(), expectedDate.toInstant());
      }
test_case.class_method_signature: DateUtilitiesTest.generated_date_has_given_timezone_when_given_localdatetime_and_timezone()
test_case.full_signature: @Test public void generated_date_has_given_timezone_when_given_localdatetime_and_timezone()
test_case.identifier: generated_date_has_given_timezone_when_given_localdatetime_and_timezone
test_case.invocations: of of atTime ofHours atOffset from assertEquals toInstant toInstant
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void generated_date_has_given_timezone_when_given_localdatetime_and_timezone()
focal_class.file: JavaElasticSearchExperiment/src/main/java/utils/DateUtilities.java
focal_class.identifier: DateUtilities
focal_class.class_method_signature: DateUtilities.from(LocalDate localDate, LocalTime localTime)
focal_class.full_signature: public static Date from(LocalDate localDate, LocalTime localTime)
focal_class.identifier: from
focal_class.modifiers: public static
focal_class.parameters: (LocalDate localDate, LocalTime localTime)
focal_class.return: Date
focal_class.signature: Date from(LocalDate localDate, LocalTime localTime)
focal_class.class_method_signature: DateUtilities.from(LocalDate localDate, LocalTime localTime, ZoneOffset zoneOffset)
focal_class.full_signature: public static Date from(LocalDate localDate, LocalTime localTime, ZoneOffset zoneOffset)
focal_class.identifier: from
focal_class.modifiers: public static
focal_class.parameters: (LocalDate localDate, LocalTime localTime, ZoneOffset zoneOffset)
focal_class.return: Date
focal_class.signature: Date from(LocalDate localDate, LocalTime localTime, ZoneOffset zoneOffset)
focal_class.class_method_signature: DateUtilities.from(LocalDateTime localDateTime, ZoneOffset zoneOffset)
focal_class.full_signature: public static Date from(LocalDateTime localDateTime, ZoneOffset zoneOffset)
focal_class.identifier: from
focal_class.modifiers: public static
focal_class.parameters: (LocalDateTime localDateTime, ZoneOffset zoneOffset)
focal_class.return: Date
focal_class.signature: Date from(LocalDateTime localDateTime, ZoneOffset zoneOffset)
focal_method.body: public static Date from(LocalDate localDate, LocalTime localTime) {
          return from(localDate, localTime, ZoneOffset.UTC);
      }
focal_method.class_method_signature: DateUtilities.from(LocalDate localDate, LocalTime localTime)
focal_method.full_signature: public static Date from(LocalDate localDate, LocalTime localTime)
focal_method.identifier: from
focal_method.invocations: from
focal_method.modifiers: public static
focal_method.parameters: (LocalDate localDate, LocalTime localTime)
focal_method.return: Date
focal_method.signature: Date from(LocalDate localDate, LocalTime localTime)