(convert-nps-objects-to-dates values)
(convert-nps-objects-to-dates values date-format)
Converts all string date values within a hash map to use java.time.LocalDate objects for easy filtering.
Converts all string date values within a hash map to use java.time.LocalDate objects for easy filtering.
(date-between-dates given-date less-date greater-date)
Checks whether a given date is between two dates
Checks whether a given date is between two dates
(get-nps-score-objects-for-date-range values start-date end-date)
(get-nps-score-objects-for-date-range values start-date end-date date-format)
Gets a list of NPS score hashmaps for the provided date range. Scores should be stored in hashes of the form {:score X :date Y}
Date may be of the type String or of type java.time.LocalDate
. If the first instance of :date
is not java.time.LocalDate
,
all entries in the range will be converted to java.time.LocalDate
before being filtered. This method returns the entire score hashmap in a vector,
in their original order. If you wish to retrieve just the scores, use get-nps-scores-for-date-range.
If you know that the dates need to be parsed,
the date-format
parameter may be included. The default is yyyy-MM-dd
.
Gets a list of NPS score hashmaps for the provided date range. Scores should be stored in hashes of the form `{:score X :date Y}` Date may be of the type String or of type `java.time.LocalDate`. If the first instance of `:date` is not `java.time.LocalDate`, all entries in the range will be converted to `java.time.LocalDate` before being filtered. This method returns the entire score hashmap in a vector, in their original order. If you wish to retrieve just the scores, use `get-nps-scores-for-date-range.` If you know that the dates need to be parsed, the `date-format` parameter may be included. The default is `yyyy-MM-dd`.
(get-nps-scores-for-date-range values start-date end-date)
(get-nps-scores-for-date-range values start-date end-date date-format)
Gets a list of NPS scores for the provided date range. Scores should be stored in hashes of the form {:score X :date Y}
.
Date may be of type String or of type java.time.LocalDate
. If the first instance of :date
is not java.time.LocalDate
, all
entries in the range will be converted to java.time.LocalDate
before being filtered. This method returns only the score values
in a vector, in their original order. If you wish to return the hash containing both the score and the date, use get-nps-hashes-for-date-range.
If you know that the dates need to be parsed, the date-format
parameter may be included. The default is yyyy-MM-dd
.
Gets a list of NPS scores for the provided date range. Scores should be stored in hashes of the form `{:score X :date Y}`. Date may be of type String or of type `java.time.LocalDate`. If the first instance of `:date` is not `java.time.LocalDate`, all entries in the range will be converted to `java.time.LocalDate` before being filtered. This method returns only the score values in a vector, in their original order. If you wish to return the hash containing both the score and the date, use `get-nps-hashes-for-date-range.` If you know that the dates need to be parsed, the `date-format` parameter may be included. The default is `yyyy-MM-dd`.
(get-standard-date-ranges)
(get-standard-date-ranges anchor-date)
Gets a set of start/end date ranges for summary ranges of NPS score summaries. Takes a parameter of the anchor date, which defaults to today's date.
Gets a set of start/end date ranges for summary ranges of NPS score summaries. Takes a parameter of the anchor date, which defaults to today's date.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close