pub async fn end_time(&self) -> CalDavResult<DateTime<Utc>> {
        self.resolve()
            .await?
            .properties
            .iter()
            .find(|prop| prop.name == DTEND)
            .map(|prop| prop.value.as_ref())
            .flatten()
            .map(|t| parse_date(t).map_err(|_| CalDavError::OtherError))
            .unwrap_or(Err(CalDavError::OtherError))
    }
/// Returns the finish time of the event.
Returns the finish time of the event.
Returns the finish time of the event .
pub async fn end_time(&self) -> CalDavResult<DateTime<Utc>> {
        self.resolve()
            .await?
            .properties
            .iter()
            .find(|prop| prop.name == DTEND)
            .map(|prop| prop.value.as_ref())
            .flatten()
            .map(|t| parse_date(t).map_err(|_| CalDavError::OtherError))
            .unwrap_or(Err(CalDavError::OtherError))
    }
pub async fn end_time ( & self ) -> CalDavResult < DateTime < Utc > > { self . resolve ( ) . await ? . properties . iter ( ) . find ( | prop | prop . name == DTEND ) . map ( | prop | prop . value . as_ref ( ) ) . flatten ( ) . map ( | t | parse_date ( t ) . map_err ( | _ | CalDavError :: OtherError ) ) . unwrap_or ( Err ( CalDavError :: OtherError ) ) }
Returns the finish time of the event.
Returns the finish time of the event .
&self