use of org.sonar.api.utils.DateUtils.parseDate in project sonarqube by SonarSource.
the class DateUtilsTest method parseDate_valid_format.
@Test
public void parseDate_valid_format() {
Date date = DateUtils.parseDate("2010-05-18");
assertThat(date.getDate()).isEqualTo(18);
}
Aggregations