diff options
author | dakkar <dakkar@thenautilus.net> | 2023-12-09 13:10:17 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2023-12-09 13:10:17 +0000 |
commit | 8bd30555a18dcab02dc95ea8b3701cdc7adbabb6 (patch) | |
tree | 4a2351d6111c8231fb04db72391ea2da5d60dbf3 /lib/WebService/TFL/Bus/Types.pm | |
parent | we can use the new weather api (diff) | |
download | HomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.tar.gz HomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.tar.bz2 HomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.zip |
new bus api
Diffstat (limited to 'lib/WebService/TFL/Bus/Types.pm')
-rw-r--r-- | lib/WebService/TFL/Bus/Types.pm | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/WebService/TFL/Bus/Types.pm b/lib/WebService/TFL/Bus/Types.pm deleted file mode 100644 index e67fe32..0000000 --- a/lib/WebService/TFL/Bus/Types.pm +++ /dev/null @@ -1,14 +0,0 @@ -package WebService::TFL::Bus::Types; -use Type::Library -base, -declare => 'DateTimeMillis'; -use Types::Standard -all; -use Type::Utils -all; -use Types::DateTime 'DateTimeT'; -use namespace::autoclean; - -declare DateTimeMillis, as DateTimeT; -coerce DateTimeMillis, from Num, via { - require DateTime; - DateTime->from_epoch( epoch => $_ / 1000 ) -}; - -1; |