net.sourceforge.annovalidator.util
Annotation Type DateUtil.CompositeDatePart


@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public static @interface DateUtil.CompositeDatePart

Identifies a part of a date, along with the field used to specify its value.


Required Element Summary
 java.lang.String fieldName
          The name of the field that contains this part of the date.
 DateUtil.DatePartType type
          The type of date part that fieldName contains.
 

Element Detail

fieldName

public abstract java.lang.String fieldName
The name of the field that contains this part of the date.


type

public abstract DateUtil.DatePartType type
The type of date part that fieldName contains.

Returns:
A DatePartType identifying the type of date part in fieldName.


Copyright © 2008. All Rights Reserved.