Class: Aws::Backup::Types::DateRange

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb

Overview

This is a resource filter containing FromDate: DateTime and ToDate: DateTime. Both values are required. Future DateTime values are not permitted.

The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds ((milliseconds are optional). For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_dateTime

This value is the beginning date, inclusive.

The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).

Returns:

  • (Time)


2192
2193
2194
2195
2196
2197
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 2192

class DateRange < Struct.new(
  :from_date,
  :to_date)
  SENSITIVE = []
  include Aws::Structure
end

#to_dateTime

This value is the end date, inclusive.

The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).

Returns:

  • (Time)


2192
2193
2194
2195
2196
2197
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 2192

class DateRange < Struct.new(
  :from_date,
  :to_date)
  SENSITIVE = []
  include Aws::Structure
end