org.joda.time.field.UnsupportedDurationField.getName()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(4.4k)|赞(0)|评价(0)|浏览(68)

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

UnsupportedDurationField.getName介绍

暂无

代码示例

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

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

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

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

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

/**
 * Gets a suitable hashcode.
 * 
 * @return the hashcode
 */
public int hashCode() {
  return getName().hashCode();
}

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

/**
 * Compares this duration field to another.
 * 
 * @param obj  the object to compare to
 * @return true if equal
 */
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  } else if (obj instanceof UnsupportedDurationField) {
    UnsupportedDurationField other = (UnsupportedDurationField) obj;
    if (other.getName() == null) {
      return (getName() == null);
    }
    return (other.getName().equals(getName()));
  }
  return false;
}

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

/**
 * Compares this duration field to another.
 * 
 * @param obj  the object to compare to
 * @return true if equal
 */
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  } else if (obj instanceof UnsupportedDurationField) {
    UnsupportedDurationField other = (UnsupportedDurationField) obj;
    if (other.getName() == null) {
      return (getName() == null);
    }
    return (other.getName().equals(getName()));
  }
  return false;
}

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

/**
 * Gets a suitable hashcode.
 * 
 * @return the hashcode
 */
public int hashCode() {
  return getName().hashCode();
}

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

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

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

/**
 * Compares this duration field to another.
 * 
 * @param obj  the object to compare to
 * @return true if equal
 */
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  } else if (obj instanceof UnsupportedDurationField) {
    UnsupportedDurationField other = (UnsupportedDurationField) obj;
    if (other.getName() == null) {
      return (getName() == null);
    }
    return (other.getName().equals(getName()));
  }
  return false;
}

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

/**
 * Gets a suitable hashcode.
 * 
 * @return the hashcode
 */
public int hashCode() {
  return getName().hashCode();
}

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

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

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

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

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

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

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

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

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

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

代码示例来源:origin: org.joda/com.springsource.org.joda.time

/**
 * Get a suitable debug string.
 * 
 * @return debug string
 */
public String toString() {
  return "UnsupportedDurationField[" + getName() + ']';
}

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

/**
 * Gets a suitable hashcode.
 * 
 * @return the hashcode
 */
public int hashCode() {
  return getName().hashCode();
}

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

/**
 * Gets a suitable hashcode.
 * 
 * @return the hashcode
 */
public int hashCode() {
  return getName().hashCode();
}

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

/**
 * Gets a suitable hashcode.
 * 
 * @return the hashcode
 */
public int hashCode() {
  return getName().hashCode();
}

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

/**
 * Gets a suitable hashcode.
 * 
 * @return the hashcode
 */
public int hashCode() {
  return getName().hashCode();
}

代码示例来源:origin: org.joda/com.springsource.org.joda.time

/**
 * Gets a suitable hashcode.
 * 
 * @return the hashcode
 */
public int hashCode() {
  return getName().hashCode();
}

相关文章