Skip to content

Commit

Permalink
More formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Goodyear committed Nov 8, 2011
1 parent 76870c1 commit a9c10a2
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,38 @@

This class for the Force.com platform is a collection of methods that are useful when working with the Date object in APEX.

***
---

### What methods are there?

#### min
Date min(Date d1, Date d2)

This will return the earlier of the two dates passed to it.
---
***

#### max
Date max(Date d1, Date d2)

This will return the later of the two dates passed to it.
---
***

#### dayOfWeek
Integer dayOfWeek(Date d1)

This will return an Integer representing the day of the week a particular date is. The number is zero based at Monday regardless of the Org's locale.
---
***

#### weekdaysBetween
Integer weekdaysBetween(Date d1, Date d2)

This will return the number of weekdays between two dates. This doesn't use the normal looping approach, it attempts to be more efficient and calculate the value instead.

***
---

### Who's contributed to this?

So far only I have worked on this project but feel free to fork, join in and see your name in lights just here!

***
---

### How's it licensed?

Expand Down

0 comments on commit a9c10a2

Please sign in to comment.