Skip to main content

date_method

Function date_method 

Source
pub fn date_method(
    name: &str,
    recv: &Value,
    args: &[Value],
) -> Option<Result<Value>>
Expand description

call_method arm: the date methods on a string receiver and the duration renderers on a number; a receiver of any other kind yields absent (the methods are total). None for any other name.