EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

org.eclipse.persistence.annotations
Annotation Type TimeOfDay


@Target(value={})
@Retention(value=RUNTIME)
public @interface TimeOfDay

A TimeOfDay annotation is used to specify a specific time of day using a Calendar instance which is to be used within an OptimisticLocking annotation.

See Also:
OptimisticLocking
Author:
Guy Pelletier
Since:
Oracle TopLink 11.1.1.0.0

Optional Element Summary
 int hour
          (Optional) Hour of the day.
 int millisecond
          (Optional) Millisecond of the day.
 int minute
          (Optional) Minute of the day.
 int second
          (Optional) Second of the day.
 boolean specified
          Internal use.
 

hour

public abstract int hour
(Optional) Hour of the day.

Default:
0

minute

public abstract int minute
(Optional) Minute of the day.

Default:
0

second

public abstract int second
(Optional) Second of the day.

Default:
0

millisecond

public abstract int millisecond
(Optional) Millisecond of the day.

Default:
0

specified

public abstract boolean specified
Internal use. Do not modify.

Default:
true

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference