Description

class Axlsx::Filters::DateGroupItem

This collection is used to express a group of dates or times which are used in an AutoFilter criteria. Values are always written in the calendar type of the first date encountered in the filter range, so that all subsequent dates, even when formatted or represented by other calendar types, can be correctly compared for the purposes of filtering.

Creates a new DateGroupItem instanciating the object filter should apply for grouping

Parameters:

  • options (Hash) (defaults to: {})

    A hash of options to use when

  • [String] (Hash)

    a customizable set of options

  • [Integer|String] (Hash)

    a customizable set of options

  • [Integer] (Hash)

    a customizable set of options

Raises:

  • (ArgumentError)

Grouping level This must be one of year, month, day, hour, minute or second.

Day (1-31)

Hour (0..23)

Minute (0..59(

Month (1..12)

Second (0..59)

Serialize the object to xml

Parameters:

  • str (String) (defaults to: '')

    The string object this serialization will be concatenated to.

Year (4 digits)

DateGroupItem is referenced in 0 repositories