ako 0.0.3

Ako is a Rust crate that offers a practical and human-friendly approach to creating, manipulating, formatting and converting dates, times and timestamps.
Documentation
1
2
3
4
5
6
7
use crate::calendar::Iso;
use crate::{Calendar, Date};

/// Types that can be viewed as a date on a calendar.
pub trait AsDate<C: Calendar = Iso> {
    fn as_date(&self) -> Date<C>;
}