Skip to main content

tag_from_time

Function tag_from_time 

Source
pub fn tag_from_time<T: Datelike + Timelike>(time: &T) -> TagTime
Expand description

Generuje TagTime na podstawie dowolnego obiektu czasu. Akceptuje wszystko, co implementuje Datelike i Timelike (np. DateTime, NaiveDateTime).