From 2878dcd0299720ee8879435d8c85b9345fde4f1c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 23 Dec 2013 18:30:05 +0100 Subject: URA.pm: Remove unused sprintf_date, sprintf_time methods --- lib/Travel/Status/DE/URA.pm | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/Travel/Status/DE/URA.pm b/lib/Travel/Status/DE/URA.pm index 610bf10..2e66a13 100644 --- a/lib/Travel/Status/DE/URA.pm +++ b/lib/Travel/Status/DE/URA.pm @@ -94,25 +94,6 @@ sub errstr { return $self->{errstr}; } -sub sprintf_date { - my ($e) = @_; - - return sprintf( '%02d.%02d.%d', - $e->getAttribute('day'), - $e->getAttribute('month'), - $e->getAttribute('year'), - ); -} - -sub sprintf_time { - my ($e) = @_; - - return sprintf( '%02d:%02d', - $e->getAttribute('hour'), - $e->getAttribute('minute'), - ); -} - sub is_my_stop { my ( $self, $stop, $my_stop, $fuzzy ) = @_; -- cgit v1.2.3