@Test
public void testParse() {

	Assert.assertEquals(500, parse("500ms").toMillis());
	Assert.assertEquals(60, parse("60s").getSeconds());
	Assert.assertEquals(60, parse("60m").toMinutes());
	Assert.assertEquals(1, parse("1h").toHours());
	Assert.assertEquals(1, parse("1d").toDays());
}