本文整理了Java中org.jfree.data.time.Hour.getHour()
方法的一些代码示例,展示了Hour.getHour()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Hour.getHour()
方法的具体详情如下:
包路径:org.jfree.data.time.Hour
类名称:Hour
方法名:getHour
[英]Returns the hour.
[中]返回小时。
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
/**
* Constructs a new Minute.
*
* @param minute the minute (0 to 59).
* @param hour the hour (<code>null</code> not permitted).
*/
public Minute(int minute, Hour hour) {
if (hour == null) {
throw new IllegalArgumentException("Null 'hour' argument.");
}
this.minute = (byte) minute;
this.hour = (byte) hour.getHour();
this.day = hour.getDay();
peg(Calendar.getInstance());
}
代码示例来源:origin: jfree/jfreechart
/**
* Constructs a new Minute.
*
* @param minute the minute (0 to 59).
* @param hour the hour ({@code null} not permitted).
*/
public Minute(int minute, Hour hour) {
Args.nullNotPermitted(hour, "hour");
this.minute = (byte) minute;
this.hour = (byte) hour.getHour();
this.day = hour.getDay();
peg(Calendar.getInstance());
}
代码示例来源:origin: jfree/jfreechart
result = getDay().compareTo(h.getDay());
if (result == 0) {
result = this.hour - h.getHour();
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
result = getDay().compareTo(h.getDay());
if (result == 0) {
result = this.hour - h.getHour();
内容来源于网络,如有侵权,请联系作者删除!