com.thinkaurelius.titan.core.attribute

## Interface Timestamp

- All Superinterfaces:
    Comparable<Timestamp>
  All Known Implementing Classes:
    StandardTimestamp

      public interface Timestamp
      extends Comparable<Timestamp>

  A point in time as measured in elapsed time since UNIX Epoch time
  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TimeUnit` | `getNativeUnit()` Returns the native unit used by this Timestamp.
    `long` | `sinceEpoch(TimeUnit unit)` Returns the length of time since UNIX epoch in the given `TimeUnit`.

    - ### Methods inherited from interface java.lang.Comparable

      `compareTo`

- - ### Method Detail

    - #### sinceEpoch

          long sinceEpoch(TimeUnit unit)

      Returns the length of time since UNIX epoch in the given `TimeUnit`.
      Parameters:
        `unit` -
      Returns:

    - #### getNativeUnit

          TimeUnit getNativeUnit()

      Returns the native unit used by this Timestamp. The actual time is specified in this unit of time.
      Returns:

Copyright © 2012–2014. All rights reserved.