<commit_before>package nl.ovapi.rid.model;

import java.util.ArrayList;

import lombok.Getter;
import lombok.NonNull;

public class Block {

	@Getter private ArrayList<Journey> segments;
	@Getter private String blockRef;
	
	public Block(String blockRef){
		segments = new ArrayList<Journey>();
		this.blockRef = blockRef;
	}
		<commit_msg>Return min/max time of blocks<commit_after>package nl.ovapi.rid.model;

import java.util.ArrayList;

import lombok.Getter;
import lombok.NonNull;

public class Block {

	@Getter private ArrayList<Journey> segments;
	@Getter private String blockRef;
	
	public Block(String blockRef){
		segments = new ArrayList<Journey>();
		this.blockRef = blockRef;
	}
	
	public long getDepartureEpoch(){
		return segments.get(0).getDepartureEpoch();
	}
	
	public long getEndEpoch(){
		return segments.get(segments.size()).getEndEpoch();
	}
		
{'fraction_non_alphanumeric': 0.10854503464203233, 'fraction_numerical': 0.0011547344110854503, 'mean_word_length': 4.979310344827586, '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': '1876788', 'n_tokens_mistral': 300, 'n_tokens_neox': 290, 'n_words': 68}