public static PeriodType days ( ) { PeriodType type = cDays ; if ( type == null ) { type = new PeriodType ( "Days" , new DurationFieldType [ ] { DurationFieldType . days ( ) } , new int [ ] { - 1 , - 1 , - 1 , 0 , - 1 , - 1 , - 1 , - 1 , } ) ; cDays = type ; } return type ; }
Gets a type that defines just the days field .