本文整理了Java中org.joda.time.LocalTime.millisOfDay()
方法的一些代码示例,展示了LocalTime.millisOfDay()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LocalTime.millisOfDay()
方法的具体详情如下:
包路径:org.joda.time.LocalTime
类名称: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();
}
}
内容来源于网络,如有侵权,请联系作者删除!