Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created March 23, 2015 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcrossley3/c07b8d8d48b7f56ea914 to your computer and use it in GitHub Desktop.
Save jcrossley3/c07b8d8d48b7f56ea914 to your computer and use it in GitHub Desktop.
if (opts.has(AT)) {
builder.startAt(opts.getDate(AT));
} else if (opts.has(IN)) {
builder.startAt(new java.util.Date(System.currentTimeMillis() + opts.getLong(IN)));
} else {
builder.startNow();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment