org.jfree.data.time.Hour.getHour()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(109)

本文整理了Java中org.jfree.data.time.Hour.getHour()方法的一些代码示例,展示了Hour.getHour()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Hour.getHour()方法的具体详情如下:
包路径:org.jfree.data.time.Hour
类名称:Hour
方法名:getHour

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();

相关文章