Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More formatting changes

  • Loading branch information...
commit a9c10a2e3b828b0ba94da6671e0bdf7d9e7ccef3 1 parent 76870c1
@SimonGoodyear authored
Showing with 6 additions and 8 deletions.
  1. +6 −8 README.md
View
14 README.md
@@ -2,7 +2,7 @@
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?
@@ -10,32 +10,30 @@ This class for the Force.com platform is a collection of methods that are useful
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?
Please sign in to comment.
Something went wrong with that request. Please try again.