Here you can find the source of extractMinutes(String[] parts)
private static long extractMinutes(String[] parts)
//package com.java2s; //License from project: Open Source License public class Main { private static long extractMinutes(String[] parts) { int length = parts.length; if (length < 2) { return 0L; }//from www .j a v a 2 s. com return Long.parseLong(parts[length - 2]) * 60; } }