org.joda.time.LocalTime.millisOfDay()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(281)

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

LocalTime.millisOfDay介绍

[英]Get the millis of day property which provides access to advanced functionality.
[中]获取提供高级功能访问权限的millis of day属性。

代码示例

代码示例来源:origin: apache/avro

@Override
public Integer toInt(LocalTime time, Schema schema, LogicalType type) {
 return time.millisOfDay().get();
}

代码示例来源:origin: org.apache.avro/avro

@Override
 public Integer toInt(LocalTime time, Schema schema, LogicalType type) {
  return time.millisOfDay().get();
 }
}

代码示例来源:origin: org.apache.avro/avro

@Override
 public Long toLong(LocalTime time, Schema schema, LogicalType type) {
  return 1000 * (long) time.millisOfDay().get();
 }
}

代码示例来源:origin: apache/avro

@Override
 public Long toLong(LocalTime time, Schema schema, LogicalType type) {
  return 1000 * (long) time.millisOfDay().get();
 }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.avro

@Override
 public Integer toInt(LocalTime time, Schema schema, LogicalType type) {
  return time.millisOfDay().get();
 }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.avro

@Override
 public Long toLong(LocalTime time, Schema schema, LogicalType type) {
  return 1000 * (long) time.millisOfDay().get();
 }
}

代码示例来源:origin: org.jadira.usertype/usertype.core

@Override
  public Integer toNonNullValue(LocalTime value) {
    return value.millisOfDay().get();
  }
}

代码示例来源:origin: org.jadira.usertype/usertype.jodatime

@Override
  public Integer toNonNullValue(LocalTime value) {
    return value.millisOfDay().get();
  }
}

代码示例来源:origin: org.jadira.usertype/usertype.jodatime

@Override
  public Integer toNonNullValue(TimeOfDay value) {
    return value.toLocalTime().millisOfDay().get();
  }
}

代码示例来源:origin: org.jadira.usertype/usertype.core

@Override
  public Integer toNonNullValue(TimeOfDay value) {
    return value.toLocalTime().millisOfDay().get();
  }
}

相关文章