docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DateTimeRangeMetadata

    A class which can be used as a filter for searching for metadata by date time value.

    Inheritance
    object
    Metadata
    DateTimeRangeMetadata
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)