Skip to content

Instantly share code, notes, and snippets.

@Zanoshky
Zanoshky / RegexToReplaceMinutesToClosestQuarter.java
Created September 22, 2019 15:17
Java code to replace minutes in SQL File to the closest quarter
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.Stream;