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 GYear(());

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

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