<commit_before>package jj;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateFormatHelper {

	private static final ThreadLocal<SimpleDateFormat> BASIC = 
		new ThreadLocal<SimpleDateFormat>() {
			@Override
			protected SimpleDateFormat initialValue() {
				return new SimpleDateFormat("yyyy.MM.dd HH:mm:ss.SSS");
			}
	};
	
	public static String nowInBasicFormat() {
		return BASIC.get().format(new Date());
	}
	
	public static String basicFormat(long timeInMillis) {
		return BASIC.get().format(new Date(timeInMillis));
	}
}<commit_msg>added a new date format to the helper<commit_after>package jj;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateFormatHelper {

	private static final ThreadLocal<SimpleDateFormat> BASIC = 
		new ThreadLocal<SimpleDateFormat>() {
			@Override
			protected SimpleDateFormat initialValue() {
				return new SimpleDateFormat("yyyy.MM.dd HH:mm:ss.SSS");
			}
		};
	
	private static final ThreadLocal<SimpleDateFormat> URI =
		new ThreadLocal<SimpleDateFormat>() {
			@Override
			protected SimpleDateFormat initialValue() {
				return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
			};
		};
	
	public static String nowInBasicFormat() {
		return BASIC.get().format(new Date());
	}
	
	public static String basicFormat(long timeInMillis) {
		return BASIC.get().format(new Date(timeInMillis));
	}
	
	public static String uriFormat(Date date) {
		return URI.get().format(date);
	}
}
{'fraction_non_alphanumeric': 0.11209239130434782, 'fraction_numerical': 0.0, 'mean_word_length': 4.799212598425197, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6722507', 'n_tokens_mistral': 503, 'n_tokens_neox': 446, 'n_words': 106}