1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{Datatype, XsdDatatype};
use core::fmt;

#[derive(Debug, Clone, Copy)]
pub struct Duration(());

impl XsdDatatype for Duration {
	fn type_(&self) -> Datatype {
		Datatype::Duration
	}
}

impl fmt::Display for Duration {
	fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result {
		unimplemented!()
	}
}