private long [ ] [ ] getLongitude ( String longi ) { float secs = Float . parseFloat ( "0" + longi . substring ( 5 ) ) * 60.f ; long nom = ( long ) ( secs * 1000 ) ; long [ ] [ ] longl = new long [ ] [ ] { { Long . parseLong ( longi . substring ( 0 , 3 ) ) , 1 } , { Long . parseLong ( longi . substring ( 3 , 5 ) ) , 1 } , { nom , 1000 } } ; return longl ; }
assumes the the format is HHHMM . MMMM