## Uses of Interface
org.modeshape.jcr.api.value.DateTime

- Packages that use DateTime
  Package | Description
  --- | ---
  org.modeshape.connector.git |
  org.modeshape.jcr |
  org.modeshape.jcr.api.monitor | This package provides a set of interfaces and enumerations used for monitoring ModeShape repositories.
  org.modeshape.jcr.api.value |
  org.modeshape.jcr.cache |
  org.modeshape.jcr.cache.change |
  org.modeshape.jcr.cache.document |
  org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.
  org.modeshape.jcr.value | Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for representing and working with properties and their values.
  org.modeshape.jcr.value.basic | A set of basic implementations of the various interfaces defined in `org.modeshape.jcr.value`.
  org.modeshape.jcr.value.binary |

- - ### Uses of DateTime in org.modeshape.connector.git

    Methods in org.modeshape.connector.git that return DateTime
    Modifier and Type | Method and Description
    --- | ---
    `DateTime` | Values.`dateFrom(int secondsSinceEpoch)`

  - ### Uses of DateTime in org.modeshape.jcr

    Methods in org.modeshape.jcr with parameters of type DateTime
    Modifier and Type | Method and Description
    --- | ---
    `protected MutableCachedNode` | SystemContent.`initializeVersionStorage(NodeKey versionableNodeKey, NodeKey versionHistoryKey, NodeKey versionKey, Name primaryTypeName, Set<Name> mixinTypeNames, Path versionHistoryPath, NodeKey originalVersionKey, DateTime now)` Create and initialize the version history structure for a versionable node with the supplied UUID.
    `MutableCachedNode` | SystemContent.`recordNewVersion(CachedNode versionableNode, SessionCache cacheForVersionableNode, Path versionHistoryPath, NodeKey originalVersionKey, Collection<Property> versionableProperties, DateTime now, AtomicReference<MutableCachedNode> frozenNodeOutput)` The method efficiently updates the JCR version history and storage with a new version of a node being checked in.

    Constructors in org.modeshape.jcr with parameters of type DateTime
    Constructor and Description
    `Sequencers.SequencingContext(DateTime now, ValueFactory jcrValueFactory)`

  - ### Uses of DateTime in org.modeshape.jcr.api.monitor

    Methods in org.modeshape.jcr.api.monitor that return DateTime
    Modifier and Type | Method and Description
    --- | ---
    `DateTime` | History.`getEndTime()` Get the timestamp (including time zone information) at which this history window ends.
    `DateTime` | History.`getStartTime()` Get the timestamp (including time zone information) at which this history window starts.

  - ### Uses of DateTime in org.modeshape.jcr.api.value

    Methods in org.modeshape.jcr.api.value that return DateTime
    Modifier and Type | Method and Description
    --- | ---
    `DateTime` | DateTime.`minus(long timeAmount, TimeUnit unit)` Subtract the specified about of time in the supplied units.
    `DateTime` | DateTime.`minusDays(int days)` Subtract the specified number of days from this time instant.
    `DateTime` | DateTime.`minusHours(int hours)` Subtract the specified number of hours from this time instant.
    `DateTime` | DateTime.`minusMillis(int milliseconds)` Subtract the specified number of milliseconds from this time instant.
    `DateTime` | DateTime.`minusMinutes(int minutes)` Subtract the specified number of minutes from this time instant.
    `DateTime` | DateTime.`minusMonths(int months)` Subtract the specified number of months from this time instant.
    `DateTime` | DateTime.`minusSeconds(int seconds)` Subtract the specified number of seconds from this time instant.
    `DateTime` | DateTime.`minusWeeks(int weeks)` Subtract the specified number of weeks from this time instant.
    `DateTime` | DateTime.`minusYears(int years)` Subtract the specified number of years from this time instant.
    `DateTime` | DateTime.`plus(long timeAmount, TimeUnit unit)` Add the specified about of time in the supplied units.
    `DateTime` | DateTime.`plusDays(int days)` Add the specified number of days from this time instant.
    `DateTime` | DateTime.`plusHours(int hours)` Add the specified number of hours from this time instant.
    `DateTime` | DateTime.`plusMillis(int milliseconds)` Add the specified number of milliseconds from this time instant.
    `DateTime` | DateTime.`plusMinutes(int minutes)` Add the specified number of minutes from this time instant.
    `DateTime` | DateTime.`plusMonths(int months)` Add the specified number of months from this time instant.
    `DateTime` | DateTime.`plusSeconds(int seconds)` Add the specified number of seconds from this time instant.
    `DateTime` | DateTime.`plusWeeks(int weeks)` Add the specified number of weeks from this time instant.
    `DateTime` | DateTime.`plusYears(int years)` Add the specified number of years from this time instant.
    `DateTime` | DateTime.`toTimeZone(String timeZoneId)` Convert this time to the time zone given by the supplied identifier.
    `DateTime` | DateTime.`toUtcTimeZone()` Convert this time to the same instant in the UTC time zone.

    Methods in org.modeshape.jcr.api.value with parameters of type DateTime
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DateTime.`isAfter(DateTime other)` Return whether this date-time is later than the supplied date-time.
    `boolean` | DateTime.`isBefore(DateTime other)` Return whether this date-time is earlier than the supplied date-time.
    `boolean` | DateTime.`isSameAs(DateTime other)` Return whether this date-time is exactly the the same as the supplied date-time.

  - ### Uses of DateTime in org.modeshape.jcr.cache

    Methods in org.modeshape.jcr.cache that return DateTime
    Modifier and Type | Method and Description
    --- | ---
    `DateTime` | SessionCache.SaveContext.`getTime()` Get the instance in time that the save is taking place.

  - ### Uses of DateTime in org.modeshape.jcr.cache.change

    Methods in org.modeshape.jcr.cache.change that return DateTime
    Modifier and Type | Method and Description
    --- | ---
    `DateTime` | RecordingChanges.`getTimestamp()`
    `DateTime` | ChangeSet.`getTimestamp()`

    Methods in org.modeshape.jcr.cache.change with parameters of type DateTime
    Modifier and Type | Method and Description
    --- | ---
    `void` | RecordingChanges.`freeze(String userId, Map<String,String> userData, DateTime timestamp)`

  - ### Uses of DateTime in org.modeshape.jcr.cache.document

    Methods in org.modeshape.jcr.cache.document that return DateTime
    Modifier and Type | Method and Description
    --- | ---
    `DateTime` | AbstractSessionCache.BasicSaveContext.`getTime()`

  - ### Uses of DateTime in org.modeshape.jcr.query

    Methods in org.modeshape.jcr.query with parameters of type DateTime
    Modifier and Type | Method and Description
    --- | ---
    `QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder>` | QueryBuilder.RightHandSide.`cast(DateTime literal)` Define the right-hand side of a comparison.
    `QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder>` | QueryBuilder.UpperBoundary.`cast(DateTime literal)` Define the upper boundary value of a range.
    `QueryBuilder.CastAs<QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary>>` | QueryBuilder.LowerBoundary.`cast(DateTime literal)` Define the lower boundary value of a range.
    `QueryBuilder.ConstraintBuilder` | QueryBuilder.RightHandSide.`literal(DateTime literal)` Define the right-hand side of a comparison.
    `QueryBuilder.ConstraintBuilder` | QueryBuilder.UpperBoundary.`literal(DateTime literal)` Define the upper boundary value of a range.
    `QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary>` | QueryBuilder.LowerBoundary.`literal(DateTime literal)` Define the lower boundary value of a range.

  - ### Uses of DateTime in org.modeshape.jcr.value

    Fields in org.modeshape.jcr.value with type parameters of type DateTime
    Modifier and Type | Field and Description
    --- | ---
    `static Comparator<DateTime>` | ValueComparators.`DATE_TIME_COMPARATOR` A comparator of date-time instances.

    Methods in org.modeshape.jcr.value that return DateTime
    Modifier and Type | Method and Description
    --- | ---
    `DateTime` | DateTimeFactory.`create()` Create a date-time instance for the current time in the local time zone.
    `DateTime` | DateTimeFactory.`create(DateTime original, long offsetInMillis)` Create a date-time instance that is offset from the original by the specified amount.
    `DateTime` | DateTimeFactory.`create(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisecondsOfSecond)` Create a date-time instance given the individual values for the fields
    `DateTime` | DateTimeFactory.`create(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisecondsOfSecond, int timeZoneOffsetHours)` Create a date-time instance given the individual values for the fields
    `DateTime` | DateTimeFactory.`create(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisecondsOfSecond, String timeZoneId)` Create a date-time instance given the individual values for the fields
    `DateTime` | DateTimeFactory.`createUtc()` Create a date-time instance for the current time in UTC.

    Methods in org.modeshape.jcr.value with parameters of type DateTime
    Modifier and Type | Method and Description
    --- | ---
    `T` | ValueFactory.`create(DateTime value)` Create a value from a date-time instant.
    `T[]` | ValueFactory.`create(DateTime[] values)` Create an array of values from an array of `DateTime` instants.
    `DateTime` | DateTimeFactory.`create(DateTime original, long offsetInMillis)` Create a date-time instance that is offset from the original by the specified amount.

  - ### Uses of DateTime in org.modeshape.jcr.value.basic

    Classes in org.modeshape.jcr.value.basic that implement DateTime
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JodaDateTime` Implementation of DateTime based upon the Joda-Time library.

    Methods in org.modeshape.jcr.value.basic that return DateTime
    Modifier and Type | Method and Description
    --- | ---
    `DateTime` | JodaDateTimeValueFactory.`create()`
    `DateTime` | JodaDateTimeValueFactory.`create(BigDecimal value)`
    `DateTime` | JodaDateTimeValueFactory.`create(BinaryValue value)`
    `DateTime` | JodaDateTimeValueFactory.`create(boolean value)`
    `DateTime` | JodaDateTimeValueFactory.`create(byte[] value)`
    `DateTime` | JodaDateTimeValueFactory.`create(Calendar value)`
    `DateTime` | JodaDateTimeValueFactory.`create(Date value)`
    `DateTime` | JodaDateTimeValueFactory.`create(DateTime value)`
    `DateTime` | JodaDateTimeValueFactory.`create(DateTime original, long offsetInMillis)`
    `DateTime` | JodaDateTimeValueFactory.`create(double value)`
    `DateTime` | JodaDateTimeValueFactory.`create(float value)`
    `DateTime` | JodaDateTimeValueFactory.`create(InputStream stream)`
    `DateTime` | JodaDateTimeValueFactory.`create(int value)`
    `DateTime` | JodaDateTimeValueFactory.`create(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisecondsOfSecond)`
    `DateTime` | JodaDateTimeValueFactory.`create(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisecondsOfSecond, int timeZoneOffsetHours)`
    `DateTime` | JodaDateTimeValueFactory.`create(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisecondsOfSecond, String timeZoneId)`
    `DateTime` | JodaDateTimeValueFactory.`create(long value)`
    `DateTime` | JodaDateTimeValueFactory.`create(Name value)`
    `DateTime` | JodaDateTimeValueFactory.`create(NodeKey value)`
    `DateTime` | JodaDateTimeValueFactory.`create(Path.Segment value)`
    `DateTime` | JodaDateTimeValueFactory.`create(Path value)`
    `DateTime` | JodaDateTimeValueFactory.`create(Reference value)`
    `DateTime` | JodaDateTimeValueFactory.`create(String value)`
    `DateTime` | JodaDateTimeValueFactory.`create(String value, TextDecoder decoder)`
    `DateTime` | JodaDateTimeValueFactory.`create(URI value)`
    `DateTime` | JodaDateTimeValueFactory.`create(UUID value)`
    `DateTime[]` | JodaDateTimeValueFactory.`createEmptyArray(int length)`
    `DateTime` | JodaDateTimeValueFactory.`createUtc()`
    `DateTime` | JodaDateTime.`minus(long timeAmount, TimeUnit unit)`
    `DateTime` | JodaDateTime.`minusDays(int days)`
    `DateTime` | JodaDateTime.`minusHours(int hours)`
    `DateTime` | JodaDateTime.`minusMillis(int milliseconds)`
    `DateTime` | JodaDateTime.`minusMinutes(int minutes)`
    `DateTime` | JodaDateTime.`minusMonths(int months)`
    `DateTime` | JodaDateTime.`minusSeconds(int seconds)`
    `DateTime` | JodaDateTime.`minusWeeks(int weeks)`
    `DateTime` | JodaDateTime.`minusYears(int years)`
    `DateTime` | JodaDateTime.`plus(long timeAmount, TimeUnit unit)`
    `DateTime` | JodaDateTime.`plusDays(int days)`
    `DateTime` | JodaDateTime.`plusHours(int hours)`
    `DateTime` | JodaDateTime.`plusMillis(int milliseconds)`
    `DateTime` | JodaDateTime.`plusMinutes(int minutes)`
    `DateTime` | JodaDateTime.`plusMonths(int months)`
    `DateTime` | JodaDateTime.`plusSeconds(int seconds)`
    `DateTime` | JodaDateTime.`plusWeeks(int weeks)`
    `DateTime` | JodaDateTime.`plusYears(int years)`
    `DateTime` | JodaDateTime.`toTimeZone(String timeZoneId)`
    `DateTime` | JodaDateTime.`toUtcTimeZone()`

    Methods in org.modeshape.jcr.value.basic with parameters of type DateTime
    Modifier and Type | Method and Description
    --- | ---
    `int` | JodaDateTime.`compareTo(DateTime that)`
    `UUID` | UuidValueFactory.`create(DateTime value)`
    `URI` | UriValueFactory.`create(DateTime value)`
    `String` | StringValueFactory.`create(DateTime value)`
    `Reference` | ReferenceValueFactory.`create(DateTime value)`
    `Path` | PathValueFactory.`create(DateTime value)`
    `Object` | ObjectValueFactory.`create(DateTime value)`
    `Name` | NameValueFactory.`create(DateTime value)`
    `Long` | LongValueFactory.`create(DateTime value)`
    `DateTime` | JodaDateTimeValueFactory.`create(DateTime value)`
    `Double` | DoubleValueFactory.`create(DateTime value)`
    `BigDecimal` | DecimalValueFactory.`create(DateTime value)`
    `Boolean` | BooleanValueFactory.`create(DateTime value)`
    `T[]` | AbstractValueFactory.`create(DateTime[] values)`
    `DateTime` | JodaDateTimeValueFactory.`create(DateTime original, long offsetInMillis)`
    `boolean` | JodaDateTime.`isAfter(DateTime other)`
    `boolean` | JodaDateTime.`isBefore(DateTime other)`
    `boolean` | JodaDateTime.`isSameAs(DateTime other)`

  - ### Uses of DateTime in org.modeshape.jcr.value.binary

    Methods in org.modeshape.jcr.value.binary with parameters of type DateTime
    Modifier and Type | Method and Description
    --- | ---
    `BinaryValue` | BinaryStoreValueFactory.`create(DateTime value)`

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