~whynothugo/valarmd

1d7dafbb5f697a85fef080034c77bc71e53ca9fb — Hugo Osvaldo Barrera 3 months ago a064121 main
Formatting
1 files changed, 9 insertions(+), 9 deletions(-)

M icalendar-duration/src/lib.rs
M icalendar-duration/src/lib.rs => icalendar-duration/src/lib.rs +9 -9
@@ 162,7 162,7 @@ impl MulAssign<Sign> for Rfc5545Duration {
}

impl Rfc5545Duration {
    /// Creates a new Rfc5545Duration with a given amount of weeks.
    /// Creates a new `Rfc5545Duration` with a given amount of weeks.
    pub fn from_weeks(weeks: i64) -> Self {
        Rfc5545Duration {
            weeks,


@@ 170,7 170,7 @@ impl Rfc5545Duration {
        }
    }

    /// Creates a new Rfc5545Duration with a given amount of days.
    /// Creates a new `Rfc5545Duration` with a given amount of days.
    pub fn from_days(days: i64) -> Self {
        Rfc5545Duration {
            days,


@@ 178,13 178,13 @@ impl Rfc5545Duration {
        }
    }

    /// Replace the amount of days for an Rfc5545Duration.
    /// Replace the amount of days for an `Rfc5545Duration`.
    pub fn with_days(mut self, days: i64) -> Self {
        self.days = days;
        self
    }

    /// Creates a new Rfc5545Duration with a given amount of hours.
    /// Creates a new `Rfc5545Duration` with a given amount of hours.
    pub fn from_hours(hours: i64) -> Self {
        Rfc5545Duration {
            hours,


@@ 192,14 192,14 @@ impl Rfc5545Duration {
        }
    }

    /// Replace the amount of hours for an Rfc5545Duration.
    /// Replace the amount of hours for an `Rfc5545Duration`.
    pub fn with_hours(mut self, hours: i64) -> Self {
        self.hours = hours;
        self
    }


    /// Creates a new Rfc5545Duration with a given amount of minutes.
    /// Creates a new `Rfc5545Duration` with a given amount of minutes.
    pub fn from_minutes(minutes: i64) -> Self {
        Rfc5545Duration {
            minutes,


@@ 207,13 207,13 @@ impl Rfc5545Duration {
        }
    }

    /// Replace the amount of hours for an Rfc5545Duration.
    /// Replace the amount of hours for an `Rfc5545Duration`.
    pub fn with_minutes(mut self, minutes: i64) -> Self {
        self.minutes = minutes;
        self
    }

    /// Creates a new Rfc5545Duration with a given amount of seconds.
    /// Creates a new `Rfc5545Duration` with a given amount of seconds.
    pub fn from_seconds(seconds: i64) -> Self {
        Rfc5545Duration {
            seconds,


@@ 221,7 221,7 @@ impl Rfc5545Duration {
        }
    }

    /// Replace the amount of seconds for an Rfc5545Duration.
    /// Replace the amount of seconds for an `Rfc5545Duration`.
    pub fn with_seconds(mut self, seconds: i64) -> Self {
        self.seconds = seconds;
        self