Skip to content

Commit

Permalink
Removed unused routine _mod_and_keep_sign
Browse files Browse the repository at this point in the history
  • Loading branch information
chansen committed Apr 20, 2016
1 parent 6ea316a commit 85a5436
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/DateTimeX/Moment.pm
Expand Up @@ -405,12 +405,6 @@ sub hires_epoch {
sub is_finite { 1 }
sub is_infinite { 0 }

sub _mod_and_keep_sign {
my ($lhs, $rhs) = @_;
my $sign = $lhs < 0 ? -1 : 1;
return $sign * ($lhs % $rhs);
}

sub subtract_datetime {
my ($lhs, $rhs) = @_;
my $class = ref $lhs;
Expand Down

0 comments on commit 85a5436

Please sign in to comment.