<commit_before>import java.util.ArrayList;
import java.util.Date;
import java.util.List;


/** class to store a leg of ownship data
 * 
 * @author ian
 *
 */
public class LegOfData
{
	final List<Long> _times = new ArrayList<Long>();
	
	final private String _myName;
	
	public LegOfData(final String name)
	{
		_myName = name;
	}
	public Long getEnd() {
		return _times.get(_times.size()-1);
	}
	public Long getStart() {
		return _times.get(0);
	}
	public String getName() {
		return _myName;
	}
	public void add(long time)
	{
		_times.add(time);
	}
	public int size()
	{
		return _times.size();
	}
	@Override
	public String toString()
	{
		return getName() + " " + new Date(_times.get(0)) + "-" + new Date(_times.get(_times.size()-1));<commit_msg>just output the time, we don't need the date<commit_after>import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


/** class to store a leg of ownship data
 * 
 * @author ian
 *
 */
public class LegOfData
{
	final List<Long> _times = new ArrayList<Long>();
	
	final private String _myName;
	
	public LegOfData(final String name)
	{
		_myName = name;
	}
	public Long getEnd() {
		return _times.get(_times.size()-1);
	}
	public Long getStart() {
		return _times.get(0);
	}
	public String getName() {
		return _myName;
	}
	public void add(long time)
	{
		_times.add(time);
	}
	public int size()
	{
		return _times.size();
	}
	@Override
	public String toString()
	{
		SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss");
		return getName() + " " + sdf.format(new Date(_times.get(0))) + "-" + sdf.format(new Date(_times.get(_times.size()-1)));
{'fraction_non_alphanumeric': 0.1430310407790627, 'fraction_numerical': 0.004869141813755326, 'mean_word_length': 3.807017543859649, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6156714', 'n_tokens_mistral': 620, 'n_tokens_neox': 593, 'n_words': 151}