-
-
Notifications
You must be signed in to change notification settings - Fork 47
MockUnitLocalDate
Andrei Ciobanu edited this page Aug 21, 2017
·
4 revisions
The MockUnitLocalDate interface extends MockUnit<LocalDate>.
public interface `MockUnitLocalDate` extends MockUnit<LocaleDate>This means that it "inherits" all the methods from MockUnit<LocaleDate>
The easiest way to obtain a MockUnitLocalDate is to call the localDates() method from MockNeat.
Methods that are particular to MockUnitInt:
| Method | Description |
|---|---|
toUtilDate() |
Generates a MockUnit<java.util.Date> from a MockUnitLocalDate. |
Translates the existing MockUnitLocalDate into a MockUnit<java.util.Date>.
Example:
Using the library:
Real World Examples: