outsystems-ui - v2.30.0
    Preparing search index...

    Class DatesAbstract

    Index
    • get ServerFormat(): string

      Getter that allows to obtain the Server DateFormat

      Returns string

      OSFramework.Helper.Dates

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

      Parameters

      • _date: Date

      Returns string

      {string}

      OSFramework.Helper.Dates

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

      Parameters

      • _date: Date

      Returns string

      {string}

      OSFramework.Helper.Dates

    • 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

      {boolean}

      OSFramework.Helper.Dates

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

      Parameters

      • date: string | Date

      Returns boolean

      OSFramework.Helper.Dates

    • Function used to check if a date is valid

      Parameters

      • date: string

      Returns boolean

      {boolean}

      Dates

    • Function used to normalize the OutSystems Dates

      Parameters

      • date: string

      Returns Date

      {Date}

      Dates

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

      Parameters

      • date: string | Date
      • OptionalnormalizeToMax: any

      Returns Date

      {Date}

      Dates

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

      Parameters

      • date: string

        example of date.

      Returns void

      OSFramework.Helper.Dates