Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Today.cs
1
using
System;
2
using
Waher.Script.Abstraction.Elements
;
3
using
Waher.Script.Model
;
4
using
Waher.Script.Objects
;
5
6
namespace
Waher.Script.Constants
7
{
11
public
class
Today
:
IConstant
12
{
16
public
Today
()
17
{
18
}
19
23
public
string
ConstantName
=> nameof(
Today
);
24
28
public
string
[]
Aliases
=>
null
;
29
34
public
IElement
GetValueElement
(
Variables
Variables
)
35
{
36
return
new
DateTimeValue
(DateTime.Today);
37
}
38
39
}
40
}
Waher.Script.Constants.Today
Current date.
Definition:
Today.cs:12
Waher.Script.Constants.Today.Today
Today()
Current date.
Definition:
Today.cs:16
Waher.Script.Constants.Today.Aliases
string[] Aliases
Optional aliases. If there are no aliases for the constant, null is returned.
Definition:
Today.cs:28
Waher.Script.Constants.Today.ConstantName
string ConstantName
Name of the constant
Definition:
Today.cs:23
Waher.Script.Constants.Today.GetValueElement
IElement GetValueElement(Variables Variables)
Gets the constant value element.
Definition:
Today.cs:34
Waher.Script.Objects.DateTimeValue
DateTime-valued number.
Definition:
DateTimeValue.cs:12
Waher.Script.Variables
Collection of variables.
Definition:
Variables.cs:25
Waher.Script.Abstraction.Elements.IElement
Basic interface for all types of elements.
Definition:
IElement.cs:20
Waher.Script.Model.IConstant
Base interface for constants that integrate into the script engine.
Definition:
IConstant.cs:10
Waher.Script.Abstraction.Elements
Definition:
AbelianGroupElement.cs:5
Waher.Script.Constants
Definition:
C.cs:6
Waher.Script.Model
Definition:
BinaryBooleanOperator.cs:8
Waher.Script.Objects
Definition:
BooleanValue.cs:7
IoTGateway
Script
Waher.Script
Constants
Today.cs
Generated by
1.9.5