Setzt $self auf den Start des letzten Tags eines Monats.
$self->add_business_duration(%params);
}
$self->add_business_duration(%params);
}
+sub end_of_month {
+ my ($self) = @_;
+ return $self->truncate(to => 'month')->add(months => 1)->subtract(days => 1);
+}
+
The legacy name C<from_lxoffice> is still supported.
The legacy name C<from_lxoffice> is still supported.
+=item C<end_of_month>
+
+Sets the object to the last day of object's month at midnight. Returns
+the object itself.
+