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

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

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

LocalDateTime.equals介绍

[英]Compares this ReadablePartial with another returning true if the chronology, field types and values are equal.
[中]如果时间顺序、字段类型和值相等,则将此ReadablePartial与另一个返回true的部分进行比较。

代码示例

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    calendar = earlier;

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    calendar = earlier;

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    date = earlier;

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

public boolean equals(Object x, Object y) throws HibernateException {
  if (x == y) {
    return true;
  }
  if (x == null || y == null) {
    return false;
  }
  LocalDateTime dtx = (LocalDateTime) x;
  LocalDateTime dty = (LocalDateTime) y;
  return dtx.equals(dty);
}

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

public boolean equals(Object x, Object y) throws HibernateException {
  if (x == y) {
    return true;
  }
  if (x == null || y == null) {
    return false;
  }
  LocalDateTime dtx = (LocalDateTime) x;
  LocalDateTime dty = (LocalDateTime) y;
  return dtx.equals(dty);
}

代码示例来源:origin: no.arktekk.unix/unix-sysv-pkg

public boolean equalsIgnoreNull( FileInfo that )
{
  return this.getClass().isAssignableFrom( that.getClass() ) &&
    pathname.equals( that.pathname ) &&
    type.equals( that.type ) &&
    (fileSize == 0 || fileSize == that.fileSize) &&
    (sum == 0 || sum == that.sum) &&
    (lastModification.isNone() || lastModification.some().equals( that.lastModification.some() ));
}

代码示例来源:origin: org.codehaus.mojo.unix/unix-pkg

public boolean equalsIgnoreNull( FileInfo that )
{
  return this.getClass().isAssignableFrom( that.getClass() ) &&
    pathname.equals( that.pathname ) &&
    type.equals( that.type ) &&
    ( fileSize == 0 || fileSize == that.fileSize ) &&
    ( sum == 0 || sum == that.sum ) &&
    ( lastModification.isNone() || lastModification.some().equals( that.lastModification.some() ) );
}

代码示例来源:origin: com.stratio.mojo.unix/unix-sysv-pkg

public boolean equalsIgnoreNull( FileInfo that )
{
  return this.getClass().isAssignableFrom( that.getClass() ) &&
    pathname.equals( that.pathname ) &&
    type.equals( that.type ) &&
    (fileSize == 0 || fileSize == that.fileSize) &&
    (sum == 0 || sum == that.sum) &&
    (lastModification.isNone() || lastModification.some().equals( that.lastModification.some() ));
}

代码示例来源:origin: no.arktekk.unix/unix-common

public boolean equals( Object o )
{
  if ( this == o )
  {
    return true;
  }
  if ( !(o instanceof UnixFsObject) )
  {
    return false;
  }
  UnixFsObject that = (UnixFsObject) o;
  return path.equals( that.path ) && lastModified.equals( that.lastModified ) && size == that.size &&
    optionEquals( attributes, that.attributes );
}

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    calendar = earlier;

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    calendar = earlier;

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    calendar = earlier;

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    calendar = earlier;

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    calendar = earlier;

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    calendar = earlier;

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

} else if (check.equals(this)) {
  if (check.equals(this)) {
    date = earlier;

相关文章