Added clone versions of date modify helpers

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Allow empty writeLine() calls

Signed-off-by: Tom Wright <tom@inflatablecookie.com>