From e1409b5c306febd36911a1683ece6a077be70a28 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 31 Dec 2013 03:51:59 +0000 Subject: [PATCH] * convenience binding for time expressions --- source/net/sourceforge/filebot/format/MediaBindingBean.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/net/sourceforge/filebot/format/MediaBindingBean.java b/source/net/sourceforge/filebot/format/MediaBindingBean.java index 62a1dfb0..21af4eaa 100644 --- a/source/net/sourceforge/filebot/format/MediaBindingBean.java +++ b/source/net/sourceforge/filebot/format/MediaBindingBean.java @@ -652,6 +652,11 @@ public class MediaBindingBean { return new File(System.getProperty("user.home")); } + @Define("now") + public long getNow() { + return System.currentTimeMillis(); + } + @Define("object") public Object getInfoObject() { return infoObject;