Example usage for java.time.temporal ChronoField MINUTE_OF_DAY

List of usage examples for java.time.temporal ChronoField MINUTE_OF_DAY

Introduction

In this page you can find the example usage for java.time.temporal ChronoField MINUTE_OF_DAY.

Prototype

ChronoField MINUTE_OF_DAY

To view the source code for java.time.temporal ChronoField MINUTE_OF_DAY.

Click Source Link

Document

The minute-of-day.

Usage

From source file:com.bdb.weather.display.day.ItemRenderer.java

public void loadData(List<HistoricalRecord> list) {
    windDirSeries.clear();//from  w  w  w.j  a  v  a  2 s  .c o  m

    List<HistoricalRecord> windy = list.stream()
            .filter((rec) -> rec.getAvgWind() != null && rec.getAvgWind().getSpeed().get() != 0.0)
            .collect(Collectors.toList());

    windy.forEach((rec) -> windDirSeries.add(rec.getAvgWind().getDirection().get(),
            rec.getTime().get(ChronoField.MINUTE_OF_DAY)));

    table.setItems(FXCollections.observableList(windy));
}

From source file:msi.gama.util.GamaDate.java

@getter("minute_of_day")
public int getMinuteOfDay() {
    return internal.get(ChronoField.MINUTE_OF_DAY);
}