Skip to content

Commit 39bd1a7

Browse files
committed
Prepare to HW0
1 parent 67554f3 commit 39bd1a7

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

src/main/java/ru/javawebinar/topjava/Main.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
package ru.javawebinar.topjava;
22

33
/**
4-
* User: gkislin
5-
* Date: 05.08.2015
6-
*
7-
* @link http://caloriesmng.herokuapp.com/
8-
* @link https://github.com/JavaOPs/topjava
4+
* @see <a href="http://topjava.herokuapp.com">Demo</a>
5+
* @see <a href="https://github.com/JavaOPs/topjava">Initial project</a>
96
*/
107
public class Main {
118
public static void main(String[] args) {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package ru.javawebinar.topjava.util;
2+
3+
import java.time.LocalTime;
4+
5+
public class TimeUtil {
6+
public static boolean isBetween(LocalTime lt, LocalTime startTime, LocalTime endTime) {
7+
return lt.compareTo(startTime) >= 0 && lt.compareTo(endTime) <= 0;
8+
}
9+
}

0 commit comments

Comments
 (0)