Class DateTimeRangeMetadata
A class which can be used as a filter for searching for metadata by date time value.
Inherited Members
Namespace: Unity.AssetManager.Editor
Assembly: Unity.AssetManager.Core.Editor.dll
Syntax
[Serializable]
public sealed class DateTimeRangeMetadata : Metadata
Constructors
DateTimeRangeMetadata(DateTime, DateTime)
Creates a new instance of the DateTimeMetadata class.
Declaration
public DateTimeRangeMetadata(DateTime startDateTime, DateTime endDateTime)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | startDateTime | This must be less than or equal to the expected timestamp. |
| DateTime | endDateTime | This must be greater than the expected timestamp. |
Properties
EndDateTime
The searchable value of a timestamp metadata. This must be greater than the expected timestamp.
Declaration
public DateTime EndDateTime { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
StartDateTime
The searchable value of a timestamp metadata. This must be less than or equal to the expected timestamp.
Declaration
public DateTime StartDateTime { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |