Fluent Dates

In keeping with NBuilder's philosphy of the readable, fluent interface, it also allows you to specify dates using a nice syntax.

Examples

There's no point going into detail about each one, so here's an idea of how to use it. The only thing to mention is that if you don't specify the year explicitly then it will use whatever the current year is.

Using fluent dates and generators

Needless to say you can also use the dates when building objects. Here's an example of using the list builder and a generator.