question: public static Angle fromDMS ( int degrees , int minutes , int seconds ) { if ( minutes < 0 || minutes >= 60 ) { throw new IllegalArgumentException ( "Argument Out Of Range" ) ; } if ( seconds < 0 || seconds >= 60 ) { throw new IllegalArgumentException ( "Argument Out Of Range" ) ; } return Angle . fromDegrees ( Math . signum ( degrees ) * ( Math . abs ( degrees ) + minutes / 60d + seconds / 3600d ) ) ; }
target:  Obtain an angle from a given number of degrees, minutes and seconds.