outsystems-ui - v3.0.0
    Preparing search index...

    Class DatesAbstract

    Index
    • Function to be used in order to get the Json Date from a given Date

      Parameters

      • _date: Date

        Date to convert

      Returns string

    • Function to be used in order to get the Time from a given Date

      Parameters

      • _date: Date

        Date to convert

      Returns string

    • Function used to check if the given date1 is minor than given date2

      Parameters

      • date1: string

        Date to be checked if minor

      • date2: string

        Date to be checked if it's greater than date1

      Returns boolean

    • Function used to check if a given date is an OutSystems nullDate

      Parameters

      • date: string | Date

        Date to check or convert

      Returns boolean

    • Function used to check if a date is valid

      Parameters

      • date: string

        Date to check or convert

      Returns boolean

    • Function used to normalize the OutSystems Dates

      Parameters

      • date: string

        Date to check or convert

      Returns Date

    • Function used to normalize the OutSystems DateTimes, used on scopes expecting a Date

      Parameters

      • date: string | Date

        Date to check or convert

      • OptionalnormalizeToMax: boolean

        True to normalize to the end of the day; false or omitted normalizes to the start

      Returns Date

      the date with its time set to the start or the end of the day

    • Function responsible for setting up the the server date format.

      Parameters

      • date: string

        example of date.

      Returns void