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

x33g5p2x  于2022-02-05 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(161)

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

YearMonth.toInterval介绍

[英]Converts this object to an Interval representing the whole month.

The interval will use the chronology of the year-month in the default zone.

This instance is immutable and unaffected by this method call.
[中]将此对象转换为表示整个月的间隔。
时间间隔将使用默认区域中年-月的时间顺序。
此实例是不可变的,不受此方法调用的影响。

代码示例

代码示例来源:origin: joda-time/joda-time

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: JodaOrg/joda-time

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: camunda/camunda-bpm-platform

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: io.virtdata/virtdata-lib-realer

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: redfish64/TinyTravelTracker

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.joda-time

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

代码示例来源:origin: Nextdoor/bender

  1. /**
  2. * Converts this object to an Interval representing the whole month.
  3. * <p>
  4. * The interval will use the chronology of the year-month in the default zone.
  5. * <p>
  6. * This instance is immutable and unaffected by this method call.
  7. *
  8. * @return an interval over the month, never null
  9. */
  10. public Interval toInterval() {
  11. return toInterval(null);
  12. }

相关文章