All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jqwik.time.api.constraints.PeriodRange Maven / Gradle / Ivy

package net.jqwik.time.api.constraints;

import java.lang.annotation.*;

import org.apiguardian.api.*;

import static org.apiguardian.api.API.Status.*;

/**
 * Constrain the range of generated periods.
 * 

* Applies to parameters of type {@linkplain java.time.Period} which are also annotated with {@code @ForAll}. * * @see net.jqwik.api.ForAll */ @Target({ElementType.ANNOTATION_TYPE, ElementType.PARAMETER, ElementType.TYPE_USE}) @Retention(RetentionPolicy.RUNTIME) @Documented @API(status = EXPERIMENTAL, since = "1.4.0") public @interface PeriodRange { String min() default "P-1000Y"; String max() default "P1000Y"; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy