Interface Timestamp
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Mirrors
,PeerHeader
,PeerSession
,Stats
public interface Timestamp extends org.opendaylight.yangtools.yang.binding.DataObject
The time when the encapsulated routes were received (one may also think of this as the time when they were installed in the Adj-RIB-In), expressed in seconds and microseconds since midnight (zero hour), January 1, 1970 (UTC). If zero, time is unavailable. Precision of the timestamp is implementation- dependent.This class represents the following YANG schema fragment defined in module bmp-message
grouping timestamp { leaf timestamp-sec { type yang:timestamp; default 0; } leaf timestamp-micro { type yang:timestamp; default 0; } }
The schema path to identify an instance is bmp-message/timestamp
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timestamp
getTimestampMicro()
Timestamp with microseconds precision.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timestamp
getTimestampSec()
Timestamp with seconds precision.Class<? extends Timestamp>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends Timestamp> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTimestampSec
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timestamp getTimestampSec()
Timestamp with seconds precision.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timestamp
timestampSec
, ornull
if not present
-
getTimestampMicro
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timestamp getTimestampMicro()
Timestamp with microseconds precision.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timestamp
timestampMicro
, ornull
if not present
-
-