Table of Contents

Property Minimum

Namespace
Skyline.DataMiner.Automation
Assembly
SLNetTypes.dll

Minimum

Gets or sets the minimum timestamp.

public DateTime? Minimum { get; set; }

Property Value

DateTime?

The minimum allowed timestamp. If null, no lower limit is enforced.

Examples

var timeComponent = new UIBlockDefinition
{
    Type = UIBlockType.Time,
    ConfigOptions = new AutomationDateTimeUpDownOptions()
    {
        Minimum = new DateTime(2025, 5, 10, 12, 30, 0)
    },
    DestVar = "TimeComponent"
};
uib.AppendBlock(timeComponent);

Remarks

This setting can be applied via the AutomationDateTimeUpDownOptions, AutomationDateTimePickerOptions, and AutomationTimePickerOptions when the Type is set to Time.

Default: DateTime.MinValue.

note

Available from DataMiner 10.5.9/10.6.0 onwards (RN 43014). A DateTimeKind will be taken into account on the DateTime of the Minimum. This can be set using SpecifyKind(DateTime, DateTimeKind) :

  • Unspecified: Based on the client's local time. This is the default behavior. This is also the behavior prior to 10.5.9/10.6.0 regardless of DateTimeKind.
  • Local: Based on the server's local time, then adjusted to the client's local time.
  • Utc: Interpreted as UTC, then adjusted to the client's local time. Using UTC is recommended to have full consistency regardless of the server and client time zone.