org.modeshape.jcr.value

## Class ValueComparators.DateTimeComparator

- java.lang.Object
- - org.modeshape.jcr.value.ValueComparators.DateTimeComparator

- All Implemented Interfaces:
    Serializable, Comparator<DateTime>
  Enclosing class:
    ValueComparators

      protected static final class ValueComparators.DateTimeComparator
      extends Object
      implements Comparator<DateTime>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `ValueComparators.DateTimeComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(DateTime o1, DateTime o2)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Comparator

      `equals`

- - ### Constructor Detail

    - #### ValueComparators.DateTimeComparator

          protected ValueComparators.DateTimeComparator()

  - ### Method Detail

    - #### compare

          public int compare(DateTime o1,
                    DateTime o2)

      Specified by:
        `compare` in interface `Comparator<DateTime>`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.