Try:

```scala
val dim = Dimension(unit("5D"), List(unit("jour"), unit("nuit")))
```