diff --git a/README.md b/README.md
index dc9f53b..45f4028 100644
--- a/README.md
+++ b/README.md
@@ -2,17 +2,33 @@
This java 8 library helps dealing with business hours, such has "Monday through Friday from 9am to 6pm, and from 9am to 12pm on Saturdays".
-
Dependency Management
-
-The project binaries are available in Maven Central. Just add the following to your maven configuration or taylor to your own dependency management system.
-```xml
-
- org.dhatim
- business-hours
- 1.0.0
-
+What does it do ?
+
+
+ -
+ It tells you if the business is open at any given time:
+```java
+boolean open = businessHours.isOpen(LocalDateTime.now());
```
-
+
+ -
+ It tells you how long it will be before the next business opening:
+```java
+long secondsToOpening = businessHours.timeBeforeOpening(LocalDateTime.now(), ChronoUnit.SECONDS);
+```
+
+ -
+ If you need to perform specific actions at each business opening, it gives you cron expressions that will fire at each opening time.
+ You can feed them to Cron4j, Quartz or Spring to schedule whatever you fancy.
+```java
+Set cronExpressions = businessHours.getOpeningCrons();
+```
+For instance,
new BusinessHours("wday{Mon-Fri} hr{9-18}").getOpeningCrons()
will return a single cron expression: 0 9 * * 1-5
.
+
+ Consider a business open on Wednesdays and Thursdays from 20h30 to 3am. It opens on Wednesdays and Thursdays at 21h, but also on Wednesdays at midnight.
+ new BusinessHours("wday{We-Th} hr{21-3}").getOpeningCrons()
will thus return two cron expressions: 0 0 * * 3
and 0 21 * * 3-4
.
+
+
How do I get a BusinessHours instance ?
Simply call the BusinessHours constructor:
@@ -86,29 +102,17 @@ Scale must be one of three different scales (or their equivalent codes):
Remember, 11am is not 11:00am, but rather 11:00am - 11:59am.
- What does it do ?
-
-
- -
- It tells you if the business is open at any given time:
-```java
-boolean open = businessHours.isOpen(LocalDateTime.now());
-```
-
- -
- It tells you how long it will be before the next business opening:
-```java
-long secondsToOpening = businessHours.timeBeforeOpening(LocalDateTime.now(), ChronoUnit.SECONDS);
-```
-
- -
- If you need to perform specific actions at each business opening, it gives you cron expressions that will fire at each opening time.
- You can feed them to Cron4j, Quartz or Spring to schedule whatever you fancy.
-```java
-Set cronExpressions = businessHours.getOpeningCrons();
+
Dependency Management
+
+The project binaries are available in Maven Central. Just add the following to your maven configuration or taylor to your own dependency management system.
+```xml
+
+ org.dhatim
+ business-hours
+ 1.0.0
+
```
-For instance, new BusinessHours("wday{Mon-Fri} hr{9-18}").getOpeningCrons()
will return a single cron expression: 0 9 * * 1-5
.
-
- Consider a business open on Wednesdays and Thursdays from 20h30 to 3am. It opens on Wednesdays and Thursdays at 21h, but also on Wednesdays at midnight.
- new BusinessHours("wday{We-Th} hr{21-3}").getOpeningCrons()
will thus return two cron expressions: 0 0 * * 3
and 0 21 * * 3-4
.
-
+
+Javadoc
+
+The librairy javadoc can be found here.