Annotation Interface ReadsDefaultTimeZone
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Inherited
@API(status=STABLE,
since="6.1")
public @interface ReadsDefaultTimeZone
Marks tests that read the default time zone but don't use the
@DefaultTimeZone extension themselves.
During
parallel test execution,
all tests annotated with @DefaultTimeZone,
@ReadsDefaultTimeZone, and
@WritesDefaultTimeZone are scheduled in a way that
guarantees correctness under mutation of shared global state.
For more details and examples, see the User Guide.
- Since:
- 6.1
- See Also: