public static function dms($d, $m = 0, $s = 0, $f = 0)
    {
        $asec = static::dmsf2asec($d, $m, $s, $f);

        return static::mas($asec * 1000);
    }
public static function dms($d, $m = 0, $s = 0, $f = 0)
    {
        $asec = static::dmsf2asec($d, $m, $s, $f);

        return static::mas($asec * 1000);
    }
public static function dms ( $ d , $ m = 0 , $ s = 0 , $ f = 0 ) { $ asec = static :: dmsf2asec ( $ d , $ m , $ s , $ f ) ; return static :: mas ( $ asec * 1000 ) ; }
Creates a new angle from degree, arcminute and arcsecond components.

@param int        $d Degree component
@param int        $m Arcminute component
@param int|double $s Arcsecond component
@param int|double $f Fractional arcsecond component

@return static
Creates a new angle from degree arcminute and arcsecond components .