String format(DateTime datetime) { if (isInTest) { return '$datetime//${impl.locale}'; } else { return impl.formatImpl(datetime); } }