pub fn neighbors(timehash: &str) -> Result<(String, String), String>
Expand description
Return the timehashes for the preceding and succeeding time-windows, excluding the timehash for the current time-window.
§Examples
use timeharsh::timehash;
assert_eq!(timehash::neighbors("abcdef").unwrap(), ("abcdee".to_string(), "abcdf0".to_string()));