opCast

alias opCast(T : Timestamp) = timestamp

Examples

import mir.timestamp;
auto timestamp = cast(Timestamp) YearMonthDay(2020, Month.may, 12);

Meta