APISonar


tech.tablesaw.api.DateTimeColumn.date

> tech > tablesaw > api > DateTimeColumn > date
tech APIs tablesaw APIs api APIs DateTimeColumn APIs date APIs

Example 1
private DateTimeColumn startCol = DateTimeColumn.create("start");

  public void testDate() {
    LocalDateTime dateTime = LocalDateTime.of(2018, 4, 10, 7, 30);
    startCol.append(dateTime);
    DateColumn date = startCol.date();
    assertEquals(dateTime.toLocalDate(), date.get(0));
  }