Example usage for org.jfree.data.time Minute getDay

List of usage examples for org.jfree.data.time Minute getDay

Introduction

In this page you can find the example usage for org.jfree.data.time Minute getDay.

Prototype

public Day getDay() 

Source Link

Document

Returns the day.

Usage

From source file:org.jfree.data.time.Second.java

/**
 * Constructs a new Second.// w  w  w  .j  av a  2  s. c o  m
 *
 * @param second  the second (0 to 24*60*60-1).
 * @param minute  the minute (<code>null</code> not permitted).
 */
public Second(int second, Minute minute) {
    ParamChecks.nullNotPermitted(minute, "minute");
    this.day = minute.getDay();
    this.hour = (byte) minute.getHourValue();
    this.minute = (byte) minute.getMinute();
    this.second = (byte) second;
    peg(Calendar.getInstance());
}