unix_time and convert_date (#332)
* very simple stuff * added unix_date and imporved unix_time * Update docs/scarpet/api/Auxiliary.md Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com> * Update Full.md * Dont 100% work, but It'll do untl I fix tomorrow * works, I think * changeing weekdays * removing weird stuff I didnt mean to do * previous commits * moving to expression.java because prof.gnembon said * moving away from LazyFUnctions cos gnembon doesn't like evaluating somewhere * updating docs * tweaks to dates Co-authored-by: Ghoulboy78 <ghoulboy27@gmail.com>
This commit is contained in:
1 parent
b77268553e
commit
29a81d53d6
5 files changed
+162
No files matched your search
@@ -98,6 +98,13 @@ public class ListValue extends AbstractListValue implements ContainerValueInterf
|
||||
{
|
||||
return ListValue.wrap(Arrays.asList(list));
|
||||
}
|
||||
public static ListValue ofNums(Number ... list)
|
||||
{
|
||||
List<Value> valList = new ArrayList<>();
|
||||
for (Number i : list)
|
||||
valList.add(new NumericValue(i.doubleValue()));
|
||||
return ListValue.wrap(valList);
|
||||
}
|
||||
|
||||
public static LazyValue lazyEmpty()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user