Settings for the reference typ which is used for variables
Methods
fn new() -> DateTimeSettings
Creates a new DateTimeSettings object.
Example
let s = new;
assert!;
Clones the DateTimeSettings object and returns a new independet one.
Example
let s0 = new;
let s1 = s0.clone;
assert_eq!;
s1.mode = "date";
assert_ne!;
Protocols
protocol get mode
let output = value.mode
Get the DateTime mode which is used. Available options are: 'datetime', 'date'
Example
let s = new;
s.mode = "date";
assert_eq!;
protocol set mode
value.mode = input
Set the DateTime mode which shuld be used. Available options are: 'datetime', 'date'
Example
let s = new;
s.mode = "date";
assert_eq!;