Created
November 10, 2024 01:18
-
-
Save kartikarora/f1e381cd644519f63ce1b2a3978c0bdb to your computer and use it in GitHub Desktop.
Fake Sleep Data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2022 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* https://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
* See the License for the specific language governing permissions and | |
* limitations under the License. | |
*/ | |
package me.kartikarora.jetlagged.data | |
import me.kartikarora.jetlagged.ui.composables.sleep.SleepDayData | |
import me.kartikarora.jetlagged.ui.composables.sleep.SleepGraphData | |
import me.kartikarora.jetlagged.ui.composables.sleep.SleepPeriod | |
import me.kartikarora.jetlagged.ui.composables.sleep.SleepType | |
import java.time.LocalDateTime | |
val sleepData = SleepGraphData( | |
listOf( | |
// Day 1 - Score: 59 | |
SleepDayData( | |
startDate = LocalDateTime.now(), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().withHour(22).withMinute(17), | |
endTime = LocalDateTime.now().withHour(22).withMinute(17).plusMinutes(97), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().withHour(22).withMinute(17).plusMinutes(97), | |
endTime = LocalDateTime.now().withHour(22).withMinute(17).plusMinutes(97).plusMinutes(86), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().withHour(22).withMinute(17).plusMinutes(97).plusMinutes(86), | |
endTime = LocalDateTime.now().withHour(22).withMinute(17).plusMinutes(97).plusMinutes(86).plusMinutes(48), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().withHour(22).withMinute(17).plusMinutes(97).plusMinutes(86).plusMinutes(48), | |
endTime = LocalDateTime.now().withHour(22).withMinute(17).plusMinutes(97).plusMinutes(86).plusMinutes(48).plusMinutes(53), | |
type = SleepType.Deep | |
) | |
), | |
sleepScore = 59 | |
), | |
// Day 2 - Score: 68 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(1), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38), | |
endTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66), | |
endTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66).plusMinutes(86), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66).plusMinutes(86), | |
endTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66).plusMinutes(86).plusMinutes(59), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66).plusMinutes(86).plusMinutes(59), | |
endTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66).plusMinutes(86).plusMinutes(59).plusMinutes(57), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66).plusMinutes(86).plusMinutes(59).plusMinutes(57), | |
endTime = LocalDateTime.now().minusDays(1).withHour(21).withMinute(38).plusMinutes(66).plusMinutes(86).plusMinutes(59).plusMinutes(57).plusMinutes(60), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 68 | |
), | |
// Day 3 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(2), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58), | |
endTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98), | |
endTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98).plusMinutes(137), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98).plusMinutes(137), | |
endTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98).plusMinutes(137).plusMinutes(62), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98).plusMinutes(137).plusMinutes(62), | |
endTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98).plusMinutes(137).plusMinutes(62).plusMinutes(91), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98).plusMinutes(137).plusMinutes(62).plusMinutes(91), | |
endTime = LocalDateTime.now().minusDays(2).withHour(21).withMinute(58).plusMinutes(98).plusMinutes(137).plusMinutes(62).plusMinutes(91).plusMinutes(84), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 4 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(3), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13), | |
endTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139), | |
endTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139).plusMinutes(49), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139).plusMinutes(49), | |
endTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139).plusMinutes(49).plusMinutes(122), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139).plusMinutes(49).plusMinutes(122), | |
endTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139).plusMinutes(49).plusMinutes(122).plusMinutes(96), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139).plusMinutes(49).plusMinutes(122).plusMinutes(96), | |
endTime = LocalDateTime.now().minusDays(3).withHour(21).withMinute(13).plusMinutes(139).plusMinutes(49).plusMinutes(122).plusMinutes(96).plusMinutes(33), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 5 - Score: 70 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(4), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57), | |
endTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89), | |
endTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89).plusMinutes(110), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89).plusMinutes(110), | |
endTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89).plusMinutes(110).plusMinutes(35), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89).plusMinutes(110).plusMinutes(35), | |
endTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89).plusMinutes(110).plusMinutes(35).plusMinutes(49), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89).plusMinutes(110).plusMinutes(35).plusMinutes(49), | |
endTime = LocalDateTime.now().minusDays(4).withHour(21).withMinute(57).plusMinutes(89).plusMinutes(110).plusMinutes(35).plusMinutes(49).plusMinutes(55), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 70 | |
), | |
// Day 6 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(5), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27), | |
endTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290), | |
endTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290).plusMinutes(98), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290).plusMinutes(98), | |
endTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290).plusMinutes(98).plusMinutes(51), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290).plusMinutes(98).plusMinutes(51), | |
endTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290).plusMinutes(98).plusMinutes(51).plusMinutes(61), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290).plusMinutes(98).plusMinutes(51).plusMinutes(61), | |
endTime = LocalDateTime.now().minusDays(5).withHour(21).withMinute(27).plusMinutes(290).plusMinutes(98).plusMinutes(51).plusMinutes(61).plusMinutes(50), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 7 - Score: 98 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(6), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18), | |
endTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166), | |
endTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166).plusMinutes(66), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166).plusMinutes(66), | |
endTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166).plusMinutes(66).plusMinutes(50), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166).plusMinutes(66).plusMinutes(50), | |
endTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166).plusMinutes(66).plusMinutes(50).plusMinutes(66), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166).plusMinutes(66).plusMinutes(50).plusMinutes(66), | |
endTime = LocalDateTime.now().minusDays(6).withHour(22).withMinute(18).plusMinutes(166).plusMinutes(66).plusMinutes(50).plusMinutes(66).plusMinutes(46), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 98 | |
), | |
// Day 8 - Score: 81 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(7), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33), | |
endTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97), | |
endTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97).plusMinutes(106), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97).plusMinutes(106), | |
endTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97).plusMinutes(106).plusMinutes(60), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97).plusMinutes(106).plusMinutes(60), | |
endTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97).plusMinutes(106).plusMinutes(60).plusMinutes(42), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97).plusMinutes(106).plusMinutes(60).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(7).withHour(23).withMinute(33).plusMinutes(97).plusMinutes(106).plusMinutes(60).plusMinutes(42).plusMinutes(40), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 81 | |
), | |
// Day 9 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(8), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23), | |
endTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170), | |
endTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170).plusMinutes(87), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170).plusMinutes(87), | |
endTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170).plusMinutes(87).plusMinutes(108), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170).plusMinutes(87).plusMinutes(108), | |
endTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170).plusMinutes(87).plusMinutes(108).plusMinutes(42), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170).plusMinutes(87).plusMinutes(108).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(8).withHour(21).withMinute(23).plusMinutes(170).plusMinutes(87).plusMinutes(108).plusMinutes(42).plusMinutes(42), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 10 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(9), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11), | |
endTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31), | |
endTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31).plusMinutes(141), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31).plusMinutes(141), | |
endTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31).plusMinutes(141).plusMinutes(39), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31).plusMinutes(141).plusMinutes(39), | |
endTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31).plusMinutes(141).plusMinutes(39).plusMinutes(73), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31).plusMinutes(141).plusMinutes(39).plusMinutes(73), | |
endTime = LocalDateTime.now().minusDays(9).withHour(21).withMinute(11).plusMinutes(31).plusMinutes(141).plusMinutes(39).plusMinutes(73).plusMinutes(49), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 11 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(10), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13), | |
endTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156), | |
endTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156).plusMinutes(165), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156).plusMinutes(165), | |
endTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156).plusMinutes(165).plusMinutes(37), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156).plusMinutes(165).plusMinutes(37), | |
endTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156).plusMinutes(165).plusMinutes(37).plusMinutes(159), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156).plusMinutes(165).plusMinutes(37).plusMinutes(159), | |
endTime = LocalDateTime.now().minusDays(10).withHour(23).withMinute(13).plusMinutes(156).plusMinutes(165).plusMinutes(37).plusMinutes(159).plusMinutes(32), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 12 - Score: 84 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(11), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40), | |
endTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132), | |
endTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132).plusMinutes(71), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132).plusMinutes(71), | |
endTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132).plusMinutes(71).plusMinutes(30), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132).plusMinutes(71).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132).plusMinutes(71).plusMinutes(30).plusMinutes(80), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132).plusMinutes(71).plusMinutes(30).plusMinutes(80), | |
endTime = LocalDateTime.now().minusDays(11).withHour(23).withMinute(40).plusMinutes(132).plusMinutes(71).plusMinutes(30).plusMinutes(80).plusMinutes(34), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 84 | |
), | |
// Day 13 - Score: 90 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(12), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23), | |
endTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30).plusMinutes(129), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30).plusMinutes(129), | |
endTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30).plusMinutes(129).plusMinutes(80), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30).plusMinutes(129).plusMinutes(80), | |
endTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30).plusMinutes(129).plusMinutes(80).plusMinutes(90), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30).plusMinutes(129).plusMinutes(80).plusMinutes(90), | |
endTime = LocalDateTime.now().minusDays(12).withHour(22).withMinute(23).plusMinutes(30).plusMinutes(129).plusMinutes(80).plusMinutes(90).plusMinutes(46), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 90 | |
), | |
// Day 14 - Score: 99 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(13), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38), | |
endTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124), | |
endTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124).plusMinutes(50), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124).plusMinutes(50), | |
endTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124).plusMinutes(50).plusMinutes(127), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124).plusMinutes(50).plusMinutes(127), | |
endTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124).plusMinutes(50).plusMinutes(127).plusMinutes(84), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124).plusMinutes(50).plusMinutes(127).plusMinutes(84), | |
endTime = LocalDateTime.now().minusDays(13).withHour(23).withMinute(38).plusMinutes(124).plusMinutes(50).plusMinutes(127).plusMinutes(84).plusMinutes(46), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 99 | |
), | |
// Day 15 - Score: 50 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(14), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(14).withHour(20).withMinute(36), | |
endTime = LocalDateTime.now().minusDays(14).withHour(20).withMinute(36).plusMinutes(78), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(14).withHour(20).withMinute(36).plusMinutes(78), | |
endTime = LocalDateTime.now().minusDays(14).withHour(20).withMinute(36).plusMinutes(78).plusMinutes(70), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(14).withHour(20).withMinute(36).plusMinutes(78).plusMinutes(70), | |
endTime = LocalDateTime.now().minusDays(14).withHour(20).withMinute(36).plusMinutes(78).plusMinutes(70).plusMinutes(32), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(14).withHour(20).withMinute(36).plusMinutes(78).plusMinutes(70).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(14).withHour(20).withMinute(36).plusMinutes(78).plusMinutes(70).plusMinutes(32).plusMinutes(60), | |
type = SleepType.Deep | |
) | |
), | |
sleepScore = 50 | |
), | |
// Day 16 - Score: 75 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(15), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15), | |
endTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44), | |
endTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44).plusMinutes(79), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44).plusMinutes(79), | |
endTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44).plusMinutes(79).plusMinutes(79), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44).plusMinutes(79).plusMinutes(79), | |
endTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44).plusMinutes(79).plusMinutes(79).plusMinutes(75), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44).plusMinutes(79).plusMinutes(79).plusMinutes(75), | |
endTime = LocalDateTime.now().minusDays(15).withHour(20).withMinute(15).plusMinutes(44).plusMinutes(79).plusMinutes(79).plusMinutes(75).plusMinutes(30), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 75 | |
), | |
// Day 17 - Score: 97 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(16), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30), | |
endTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199), | |
endTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199).plusMinutes(34), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199).plusMinutes(34), | |
endTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199).plusMinutes(34).plusMinutes(55), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199).plusMinutes(34).plusMinutes(55), | |
endTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199).plusMinutes(34).plusMinutes(55).plusMinutes(88), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199).plusMinutes(34).plusMinutes(55).plusMinutes(88), | |
endTime = LocalDateTime.now().minusDays(16).withHour(22).withMinute(30).plusMinutes(199).plusMinutes(34).plusMinutes(55).plusMinutes(88).plusMinutes(39), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 97 | |
), | |
// Day 18 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(17), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48), | |
endTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176), | |
endTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176).plusMinutes(148), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176).plusMinutes(148), | |
endTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176).plusMinutes(148).plusMinutes(74), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176).plusMinutes(148).plusMinutes(74), | |
endTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176).plusMinutes(148).plusMinutes(74).plusMinutes(62), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176).plusMinutes(148).plusMinutes(74).plusMinutes(62), | |
endTime = LocalDateTime.now().minusDays(17).withHour(20).withMinute(48).plusMinutes(176).plusMinutes(148).plusMinutes(74).plusMinutes(62).plusMinutes(31), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 19 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(18), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14), | |
endTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81), | |
endTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81).plusMinutes(153), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81).plusMinutes(153), | |
endTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81).plusMinutes(153).plusMinutes(111), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81).plusMinutes(153).plusMinutes(111), | |
endTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81).plusMinutes(153).plusMinutes(111).plusMinutes(85), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81).plusMinutes(153).plusMinutes(111).plusMinutes(85), | |
endTime = LocalDateTime.now().minusDays(18).withHour(22).withMinute(14).plusMinutes(81).plusMinutes(153).plusMinutes(111).plusMinutes(85).plusMinutes(46), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 20 - Score: 85 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(19), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27), | |
endTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182), | |
endTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182).plusMinutes(58), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182).plusMinutes(58), | |
endTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182).plusMinutes(58).plusMinutes(51), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182).plusMinutes(58).plusMinutes(51), | |
endTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182).plusMinutes(58).plusMinutes(51).plusMinutes(41), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182).plusMinutes(58).plusMinutes(51).plusMinutes(41), | |
endTime = LocalDateTime.now().minusDays(19).withHour(20).withMinute(27).plusMinutes(182).plusMinutes(58).plusMinutes(51).plusMinutes(41).plusMinutes(34), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 85 | |
), | |
// Day 21 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(20), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19), | |
endTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97), | |
endTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97).plusMinutes(150), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97).plusMinutes(150), | |
endTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97).plusMinutes(150).plusMinutes(53), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97).plusMinutes(150).plusMinutes(53), | |
endTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97).plusMinutes(150).plusMinutes(53).plusMinutes(75), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97).plusMinutes(150).plusMinutes(53).plusMinutes(75), | |
endTime = LocalDateTime.now().minusDays(20).withHour(20).withMinute(19).plusMinutes(97).plusMinutes(150).plusMinutes(53).plusMinutes(75).plusMinutes(57), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 22 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(21), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24), | |
endTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151), | |
endTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151).plusMinutes(162), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151).plusMinutes(162), | |
endTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151).plusMinutes(162).plusMinutes(53), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151).plusMinutes(162).plusMinutes(53), | |
endTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151).plusMinutes(162).plusMinutes(53).plusMinutes(32), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151).plusMinutes(162).plusMinutes(53).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(21).withHour(22).withMinute(24).plusMinutes(151).plusMinutes(162).plusMinutes(53).plusMinutes(32).plusMinutes(37), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 23 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(22), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20), | |
endTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167), | |
endTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167).plusMinutes(190), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167).plusMinutes(190), | |
endTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167).plusMinutes(190).plusMinutes(85), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167).plusMinutes(190).plusMinutes(85), | |
endTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167).plusMinutes(190).plusMinutes(85).plusMinutes(62), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167).plusMinutes(190).plusMinutes(85).plusMinutes(62), | |
endTime = LocalDateTime.now().minusDays(22).withHour(23).withMinute(20).plusMinutes(167).plusMinutes(190).plusMinutes(85).plusMinutes(62).plusMinutes(59), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 24 - Score: 80 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(23), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46), | |
endTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67), | |
endTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67).plusMinutes(46), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67).plusMinutes(46), | |
endTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67).plusMinutes(46).plusMinutes(62), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67).plusMinutes(46).plusMinutes(62), | |
endTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67).plusMinutes(46).plusMinutes(62).plusMinutes(30), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67).plusMinutes(46).plusMinutes(62).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(23).withHour(20).withMinute(46).plusMinutes(67).plusMinutes(46).plusMinutes(62).plusMinutes(30).plusMinutes(85), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 80 | |
), | |
// Day 25 - Score: 72 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(24), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39), | |
endTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64), | |
endTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64).plusMinutes(119), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64).plusMinutes(119), | |
endTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64).plusMinutes(119).plusMinutes(64), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64).plusMinutes(119).plusMinutes(64), | |
endTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64).plusMinutes(119).plusMinutes(64).plusMinutes(34), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64).plusMinutes(119).plusMinutes(64).plusMinutes(34), | |
endTime = LocalDateTime.now().minusDays(24).withHour(23).withMinute(39).plusMinutes(64).plusMinutes(119).plusMinutes(64).plusMinutes(34).plusMinutes(30), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 72 | |
), | |
// Day 26 - Score: 82 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(25), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49), | |
endTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48), | |
endTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48).plusMinutes(30), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48).plusMinutes(30).plusMinutes(52), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48).plusMinutes(30).plusMinutes(52), | |
endTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48).plusMinutes(30).plusMinutes(52).plusMinutes(119), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48).plusMinutes(30).plusMinutes(52).plusMinutes(119), | |
endTime = LocalDateTime.now().minusDays(25).withHour(21).withMinute(49).plusMinutes(48).plusMinutes(30).plusMinutes(52).plusMinutes(119).plusMinutes(39), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 82 | |
), | |
// Day 27 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(26), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6), | |
endTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32).plusMinutes(121), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32).plusMinutes(121), | |
endTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32).plusMinutes(121).plusMinutes(117), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32).plusMinutes(121).plusMinutes(117), | |
endTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32).plusMinutes(121).plusMinutes(117).plusMinutes(104), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32).plusMinutes(121).plusMinutes(117).plusMinutes(104), | |
endTime = LocalDateTime.now().minusDays(26).withHour(23).withMinute(6).plusMinutes(32).plusMinutes(121).plusMinutes(117).plusMinutes(104).plusMinutes(34), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 28 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(27), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33), | |
endTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159), | |
endTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159).plusMinutes(168), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159).plusMinutes(168), | |
endTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159).plusMinutes(168).plusMinutes(107), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159).plusMinutes(168).plusMinutes(107), | |
endTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159).plusMinutes(168).plusMinutes(107).plusMinutes(33), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159).plusMinutes(168).plusMinutes(107).plusMinutes(33), | |
endTime = LocalDateTime.now().minusDays(27).withHour(22).withMinute(33).plusMinutes(159).plusMinutes(168).plusMinutes(107).plusMinutes(33).plusMinutes(57), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 29 - Score: 97 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(28), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14), | |
endTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205), | |
endTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205).plusMinutes(129), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205).plusMinutes(129), | |
endTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205).plusMinutes(129).plusMinutes(64), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205).plusMinutes(129).plusMinutes(64), | |
endTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205).plusMinutes(129).plusMinutes(64).plusMinutes(32), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205).plusMinutes(129).plusMinutes(64).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(28).withHour(22).withMinute(14).plusMinutes(205).plusMinutes(129).plusMinutes(64).plusMinutes(32).plusMinutes(38), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 97 | |
), | |
// Day 30 - Score: 70 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(29), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29), | |
endTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117), | |
endTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117).plusMinutes(95), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117).plusMinutes(95), | |
endTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117).plusMinutes(95).plusMinutes(39), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117).plusMinutes(95).plusMinutes(39), | |
endTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117).plusMinutes(95).plusMinutes(39).plusMinutes(40), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117).plusMinutes(95).plusMinutes(39).plusMinutes(40), | |
endTime = LocalDateTime.now().minusDays(29).withHour(21).withMinute(29).plusMinutes(117).plusMinutes(95).plusMinutes(39).plusMinutes(40).plusMinutes(49), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 70 | |
), | |
// Day 31 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(30), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42), | |
endTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98), | |
endTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98).plusMinutes(44), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98).plusMinutes(44), | |
endTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98).plusMinutes(44).plusMinutes(131), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98).plusMinutes(44).plusMinutes(131), | |
endTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98).plusMinutes(44).plusMinutes(131).plusMinutes(135), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98).plusMinutes(44).plusMinutes(131).plusMinutes(135), | |
endTime = LocalDateTime.now().minusDays(30).withHour(22).withMinute(42).plusMinutes(98).plusMinutes(44).plusMinutes(131).plusMinutes(135).plusMinutes(67), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 32 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(31), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18), | |
endTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66), | |
endTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66).plusMinutes(61), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66).plusMinutes(61), | |
endTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66).plusMinutes(61).plusMinutes(36), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66).plusMinutes(61).plusMinutes(36), | |
endTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66).plusMinutes(61).plusMinutes(36).plusMinutes(168), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66).plusMinutes(61).plusMinutes(36).plusMinutes(168), | |
endTime = LocalDateTime.now().minusDays(31).withHour(22).withMinute(18).plusMinutes(66).plusMinutes(61).plusMinutes(36).plusMinutes(168).plusMinutes(33), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 33 - Score: 83 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(32), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42), | |
endTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115), | |
endTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115).plusMinutes(102), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115).plusMinutes(102), | |
endTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115).plusMinutes(102).plusMinutes(53), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115).plusMinutes(102).plusMinutes(53), | |
endTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115).plusMinutes(102).plusMinutes(53).plusMinutes(37), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115).plusMinutes(102).plusMinutes(53).plusMinutes(37), | |
endTime = LocalDateTime.now().minusDays(32).withHour(20).withMinute(42).plusMinutes(115).plusMinutes(102).plusMinutes(53).plusMinutes(37).plusMinutes(35), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 83 | |
), | |
// Day 34 - Score: 80 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(33), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15), | |
endTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97), | |
endTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97).plusMinutes(36), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97).plusMinutes(36), | |
endTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97).plusMinutes(36).plusMinutes(79), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97).plusMinutes(36).plusMinutes(79), | |
endTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97).plusMinutes(36).plusMinutes(79).plusMinutes(72), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97).plusMinutes(36).plusMinutes(79).plusMinutes(72), | |
endTime = LocalDateTime.now().minusDays(33).withHour(20).withMinute(15).plusMinutes(97).plusMinutes(36).plusMinutes(79).plusMinutes(72).plusMinutes(50), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 80 | |
), | |
// Day 35 - Score: 62 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(34), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(34).withHour(20).withMinute(31), | |
endTime = LocalDateTime.now().minusDays(34).withHour(20).withMinute(31).plusMinutes(109), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(34).withHour(20).withMinute(31).plusMinutes(109), | |
endTime = LocalDateTime.now().minusDays(34).withHour(20).withMinute(31).plusMinutes(109).plusMinutes(88), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(34).withHour(20).withMinute(31).plusMinutes(109).plusMinutes(88), | |
endTime = LocalDateTime.now().minusDays(34).withHour(20).withMinute(31).plusMinutes(109).plusMinutes(88).plusMinutes(45), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(34).withHour(20).withMinute(31).plusMinutes(109).plusMinutes(88).plusMinutes(45), | |
endTime = LocalDateTime.now().minusDays(34).withHour(20).withMinute(31).plusMinutes(109).plusMinutes(88).plusMinutes(45).plusMinutes(57), | |
type = SleepType.Deep | |
) | |
), | |
sleepScore = 62 | |
), | |
// Day 36 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(35), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57), | |
endTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224), | |
endTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224).plusMinutes(84), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224).plusMinutes(84), | |
endTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224).plusMinutes(84).plusMinutes(40), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224).plusMinutes(84).plusMinutes(40), | |
endTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224).plusMinutes(84).plusMinutes(40).plusMinutes(51), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224).plusMinutes(84).plusMinutes(40).plusMinutes(51), | |
endTime = LocalDateTime.now().minusDays(35).withHour(21).withMinute(57).plusMinutes(224).plusMinutes(84).plusMinutes(40).plusMinutes(51).plusMinutes(34), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 37 - Score: 85 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(36), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20), | |
endTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134), | |
endTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134).plusMinutes(120), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134).plusMinutes(120), | |
endTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134).plusMinutes(120).plusMinutes(34), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134).plusMinutes(120).plusMinutes(34), | |
endTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134).plusMinutes(120).plusMinutes(34).plusMinutes(40), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134).plusMinutes(120).plusMinutes(34).plusMinutes(40), | |
endTime = LocalDateTime.now().minusDays(36).withHour(20).withMinute(20).plusMinutes(134).plusMinutes(120).plusMinutes(34).plusMinutes(40).plusMinutes(35), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 85 | |
), | |
// Day 38 - Score: 84 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(37), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10), | |
endTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172), | |
endTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172).plusMinutes(82), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172).plusMinutes(82), | |
endTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172).plusMinutes(82).plusMinutes(60), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172).plusMinutes(82).plusMinutes(60), | |
endTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172).plusMinutes(82).plusMinutes(60).plusMinutes(32), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172).plusMinutes(82).plusMinutes(60).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(37).withHour(20).withMinute(10).plusMinutes(172).plusMinutes(82).plusMinutes(60).plusMinutes(32).plusMinutes(59), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 84 | |
), | |
// Day 39 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(38), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25), | |
endTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141), | |
endTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141).plusMinutes(156), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141).plusMinutes(156), | |
endTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141).plusMinutes(156).plusMinutes(42), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141).plusMinutes(156).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141).plusMinutes(156).plusMinutes(42).plusMinutes(32), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141).plusMinutes(156).plusMinutes(42).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(38).withHour(21).withMinute(25).plusMinutes(141).plusMinutes(156).plusMinutes(42).plusMinutes(32).plusMinutes(64), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 40 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(39), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39), | |
endTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278), | |
endTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278).plusMinutes(38), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278).plusMinutes(38), | |
endTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278).plusMinutes(38).plusMinutes(41), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278).plusMinutes(38).plusMinutes(41), | |
endTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278).plusMinutes(38).plusMinutes(41).plusMinutes(125), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278).plusMinutes(38).plusMinutes(41).plusMinutes(125), | |
endTime = LocalDateTime.now().minusDays(39).withHour(20).withMinute(39).plusMinutes(278).plusMinutes(38).plusMinutes(41).plusMinutes(125).plusMinutes(30), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 41 - Score: 57 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(40), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12), | |
endTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66), | |
endTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66).plusMinutes(85), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66).plusMinutes(85), | |
endTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66).plusMinutes(85).plusMinutes(31), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66).plusMinutes(85).plusMinutes(31), | |
endTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66).plusMinutes(85).plusMinutes(31).plusMinutes(42), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66).plusMinutes(85).plusMinutes(31).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(40).withHour(23).withMinute(12).plusMinutes(66).plusMinutes(85).plusMinutes(31).plusMinutes(42).plusMinutes(50), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 57 | |
), | |
// Day 42 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(41), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32), | |
endTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281), | |
endTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281).plusMinutes(174), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281).plusMinutes(174), | |
endTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281).plusMinutes(174).plusMinutes(84), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281).plusMinutes(174).plusMinutes(84), | |
endTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281).plusMinutes(174).plusMinutes(84).plusMinutes(61), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281).plusMinutes(174).plusMinutes(84).plusMinutes(61), | |
endTime = LocalDateTime.now().minusDays(41).withHour(22).withMinute(32).plusMinutes(281).plusMinutes(174).plusMinutes(84).plusMinutes(61).plusMinutes(31), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 43 - Score: 64 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(42), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24), | |
endTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91), | |
endTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91).plusMinutes(42), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91).plusMinutes(42).plusMinutes(63), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91).plusMinutes(42).plusMinutes(63), | |
endTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91).plusMinutes(42).plusMinutes(63).plusMinutes(32), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91).plusMinutes(42).plusMinutes(63).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(42).withHour(20).withMinute(24).plusMinutes(91).plusMinutes(42).plusMinutes(63).plusMinutes(32).plusMinutes(34), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 64 | |
), | |
// Day 44 - Score: 82 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(43), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8), | |
endTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173), | |
endTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173).plusMinutes(55), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173).plusMinutes(55), | |
endTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173).plusMinutes(55).plusMinutes(50), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173).plusMinutes(55).plusMinutes(50), | |
endTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173).plusMinutes(55).plusMinutes(50).plusMinutes(51), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173).plusMinutes(55).plusMinutes(50).plusMinutes(51), | |
endTime = LocalDateTime.now().minusDays(43).withHour(21).withMinute(8).plusMinutes(173).plusMinutes(55).plusMinutes(50).plusMinutes(51).plusMinutes(30), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 82 | |
), | |
// Day 45 - Score: 80 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(44), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14), | |
endTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133), | |
endTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133).plusMinutes(109), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133).plusMinutes(109), | |
endTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133).plusMinutes(109).plusMinutes(39), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133).plusMinutes(109).plusMinutes(39), | |
endTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133).plusMinutes(109).plusMinutes(39).plusMinutes(31), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133).plusMinutes(109).plusMinutes(39).plusMinutes(31), | |
endTime = LocalDateTime.now().minusDays(44).withHour(22).withMinute(14).plusMinutes(133).plusMinutes(109).plusMinutes(39).plusMinutes(31).plusMinutes(30), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 80 | |
), | |
// Day 46 - Score: 94 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(45), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53), | |
endTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112), | |
endTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112).plusMinutes(147), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112).plusMinutes(147), | |
endTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112).plusMinutes(147).plusMinutes(97), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112).plusMinutes(147).plusMinutes(97), | |
endTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112).plusMinutes(147).plusMinutes(97).plusMinutes(43), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112).plusMinutes(147).plusMinutes(97).plusMinutes(43), | |
endTime = LocalDateTime.now().minusDays(45).withHour(20).withMinute(53).plusMinutes(112).plusMinutes(147).plusMinutes(97).plusMinutes(43).plusMinutes(56), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 94 | |
), | |
// Day 47 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(46), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44), | |
endTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112), | |
endTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112).plusMinutes(212), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112).plusMinutes(212), | |
endTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112).plusMinutes(212).plusMinutes(59), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112).plusMinutes(212).plusMinutes(59), | |
endTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112).plusMinutes(212).plusMinutes(59).plusMinutes(75), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112).plusMinutes(212).plusMinutes(59).plusMinutes(75), | |
endTime = LocalDateTime.now().minusDays(46).withHour(22).withMinute(44).plusMinutes(112).plusMinutes(212).plusMinutes(59).plusMinutes(75).plusMinutes(33), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 48 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(47), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59), | |
endTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284), | |
endTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284).plusMinutes(133), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284).plusMinutes(133), | |
endTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284).plusMinutes(133).plusMinutes(59), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284).plusMinutes(133).plusMinutes(59), | |
endTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284).plusMinutes(133).plusMinutes(59).plusMinutes(35), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284).plusMinutes(133).plusMinutes(59).plusMinutes(35), | |
endTime = LocalDateTime.now().minusDays(47).withHour(23).withMinute(59).plusMinutes(284).plusMinutes(133).plusMinutes(59).plusMinutes(35).plusMinutes(32), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 49 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(48), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22), | |
endTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130), | |
endTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130).plusMinutes(209), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130).plusMinutes(209), | |
endTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130).plusMinutes(209).plusMinutes(126), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130).plusMinutes(209).plusMinutes(126), | |
endTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130).plusMinutes(209).plusMinutes(126).plusMinutes(39), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130).plusMinutes(209).plusMinutes(126).plusMinutes(39), | |
endTime = LocalDateTime.now().minusDays(48).withHour(23).withMinute(22).plusMinutes(130).plusMinutes(209).plusMinutes(126).plusMinutes(39).plusMinutes(43), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 50 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(49), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49), | |
endTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77), | |
endTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77).plusMinutes(178), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77).plusMinutes(178), | |
endTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77).plusMinutes(178).plusMinutes(84), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77).plusMinutes(178).plusMinutes(84), | |
endTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77).plusMinutes(178).plusMinutes(84).plusMinutes(66), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77).plusMinutes(178).plusMinutes(84).plusMinutes(66), | |
endTime = LocalDateTime.now().minusDays(49).withHour(23).withMinute(49).plusMinutes(77).plusMinutes(178).plusMinutes(84).plusMinutes(66).plusMinutes(35), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 51 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(50), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23), | |
endTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101), | |
endTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101).plusMinutes(56), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101).plusMinutes(56), | |
endTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101).plusMinutes(56).plusMinutes(151), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101).plusMinutes(56).plusMinutes(151), | |
endTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101).plusMinutes(56).plusMinutes(151).plusMinutes(76), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101).plusMinutes(56).plusMinutes(151).plusMinutes(76), | |
endTime = LocalDateTime.now().minusDays(50).withHour(23).withMinute(23).plusMinutes(101).plusMinutes(56).plusMinutes(151).plusMinutes(76).plusMinutes(39), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 52 - Score: 68 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(51), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45), | |
endTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133), | |
endTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133).plusMinutes(56), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133).plusMinutes(56), | |
endTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133).plusMinutes(56).plusMinutes(64), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133).plusMinutes(56).plusMinutes(64), | |
endTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133).plusMinutes(56).plusMinutes(64).plusMinutes(37), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133).plusMinutes(56).plusMinutes(64).plusMinutes(37), | |
endTime = LocalDateTime.now().minusDays(51).withHour(20).withMinute(45).plusMinutes(133).plusMinutes(56).plusMinutes(64).plusMinutes(37).plusMinutes(39), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 68 | |
), | |
// Day 53 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(52), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38), | |
endTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208), | |
endTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208).plusMinutes(148), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208).plusMinutes(148), | |
endTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208).plusMinutes(148).plusMinutes(169), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208).plusMinutes(148).plusMinutes(169), | |
endTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208).plusMinutes(148).plusMinutes(169).plusMinutes(58), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208).plusMinutes(148).plusMinutes(169).plusMinutes(58), | |
endTime = LocalDateTime.now().minusDays(52).withHour(22).withMinute(38).plusMinutes(208).plusMinutes(148).plusMinutes(169).plusMinutes(58).plusMinutes(54), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 54 - Score: 98 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(53), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7), | |
endTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202), | |
endTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202).plusMinutes(90), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202).plusMinutes(90), | |
endTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202).plusMinutes(90).plusMinutes(74), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202).plusMinutes(90).plusMinutes(74), | |
endTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202).plusMinutes(90).plusMinutes(74).plusMinutes(39), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202).plusMinutes(90).plusMinutes(74).plusMinutes(39), | |
endTime = LocalDateTime.now().minusDays(53).withHour(22).withMinute(7).plusMinutes(202).plusMinutes(90).plusMinutes(74).plusMinutes(39).plusMinutes(33), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 98 | |
), | |
// Day 55 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(54), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29), | |
endTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299), | |
endTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299).plusMinutes(149), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299).plusMinutes(149), | |
endTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299).plusMinutes(149).plusMinutes(114), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299).plusMinutes(149).plusMinutes(114), | |
endTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299).plusMinutes(149).plusMinutes(114).plusMinutes(41), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299).plusMinutes(149).plusMinutes(114).plusMinutes(41), | |
endTime = LocalDateTime.now().minusDays(54).withHour(22).withMinute(29).plusMinutes(299).plusMinutes(149).plusMinutes(114).plusMinutes(41).plusMinutes(32), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 56 - Score: 68 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(55), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3), | |
endTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85), | |
endTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85).plusMinutes(48), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85).plusMinutes(48), | |
endTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85).plusMinutes(48).plusMinutes(42), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85).plusMinutes(48).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85).plusMinutes(48).plusMinutes(42).plusMinutes(40), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85).plusMinutes(48).plusMinutes(42).plusMinutes(40), | |
endTime = LocalDateTime.now().minusDays(55).withHour(21).withMinute(3).plusMinutes(85).plusMinutes(48).plusMinutes(42).plusMinutes(40).plusMinutes(47), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 68 | |
), | |
// Day 57 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(56), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54), | |
endTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314), | |
endTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314).plusMinutes(112), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314).plusMinutes(112), | |
endTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314).plusMinutes(112).plusMinutes(42), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314).plusMinutes(112).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314).plusMinutes(112).plusMinutes(42).plusMinutes(90), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314).plusMinutes(112).plusMinutes(42).plusMinutes(90), | |
endTime = LocalDateTime.now().minusDays(56).withHour(23).withMinute(54).plusMinutes(314).plusMinutes(112).plusMinutes(42).plusMinutes(90).plusMinutes(61), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 58 - Score: 83 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(57), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30), | |
endTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91), | |
endTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91).plusMinutes(143), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91).plusMinutes(143), | |
endTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91).plusMinutes(143).plusMinutes(70), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91).plusMinutes(143).plusMinutes(70), | |
endTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91).plusMinutes(143).plusMinutes(70).plusMinutes(35), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91).plusMinutes(143).plusMinutes(70).plusMinutes(35), | |
endTime = LocalDateTime.now().minusDays(57).withHour(20).withMinute(30).plusMinutes(91).plusMinutes(143).plusMinutes(70).plusMinutes(35).plusMinutes(60), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 83 | |
), | |
// Day 59 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(58), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41), | |
endTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120), | |
endTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120).plusMinutes(158), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120).plusMinutes(158), | |
endTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120).plusMinutes(158).plusMinutes(128), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120).plusMinutes(158).plusMinutes(128), | |
endTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120).plusMinutes(158).plusMinutes(128).plusMinutes(58), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120).plusMinutes(158).plusMinutes(128).plusMinutes(58), | |
endTime = LocalDateTime.now().minusDays(58).withHour(21).withMinute(41).plusMinutes(120).plusMinutes(158).plusMinutes(128).plusMinutes(58).plusMinutes(61), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 60 - Score: 91 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(59), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54), | |
endTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67), | |
endTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67).plusMinutes(32), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67).plusMinutes(32).plusMinutes(98), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67).plusMinutes(32).plusMinutes(98), | |
endTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67).plusMinutes(32).plusMinutes(98).plusMinutes(87), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67).plusMinutes(32).plusMinutes(98).plusMinutes(87), | |
endTime = LocalDateTime.now().minusDays(59).withHour(23).withMinute(54).plusMinutes(67).plusMinutes(32).plusMinutes(98).plusMinutes(87).plusMinutes(40), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 91 | |
), | |
// Day 61 - Score: 87 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(60), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43), | |
endTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170), | |
endTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170).plusMinutes(81), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170).plusMinutes(81), | |
endTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170).plusMinutes(81).plusMinutes(69), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170).plusMinutes(81).plusMinutes(69), | |
endTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170).plusMinutes(81).plusMinutes(69).plusMinutes(45), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170).plusMinutes(81).plusMinutes(69).plusMinutes(45), | |
endTime = LocalDateTime.now().minusDays(60).withHour(20).withMinute(43).plusMinutes(170).plusMinutes(81).plusMinutes(69).plusMinutes(45).plusMinutes(55), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 87 | |
), | |
// Day 62 - Score: 95 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(61), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46), | |
endTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125), | |
endTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125).plusMinutes(121), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125).plusMinutes(121), | |
endTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125).plusMinutes(121).plusMinutes(81), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125).plusMinutes(121).plusMinutes(81), | |
endTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125).plusMinutes(121).plusMinutes(81).plusMinutes(32), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125).plusMinutes(121).plusMinutes(81).plusMinutes(32), | |
endTime = LocalDateTime.now().minusDays(61).withHour(22).withMinute(46).plusMinutes(125).plusMinutes(121).plusMinutes(81).plusMinutes(32).plusMinutes(47), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 95 | |
), | |
// Day 63 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(62), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23), | |
endTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213), | |
endTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213).plusMinutes(119), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213).plusMinutes(119), | |
endTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213).plusMinutes(119).plusMinutes(116), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213).plusMinutes(119).plusMinutes(116), | |
endTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213).plusMinutes(119).plusMinutes(116).plusMinutes(36), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213).plusMinutes(119).plusMinutes(116).plusMinutes(36), | |
endTime = LocalDateTime.now().minusDays(62).withHour(21).withMinute(23).plusMinutes(213).plusMinutes(119).plusMinutes(116).plusMinutes(36).plusMinutes(36), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 64 - Score: 58 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(63), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(63).withHour(20).withMinute(20), | |
endTime = LocalDateTime.now().minusDays(63).withHour(20).withMinute(20).plusMinutes(106), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(63).withHour(20).withMinute(20).plusMinutes(106), | |
endTime = LocalDateTime.now().minusDays(63).withHour(20).withMinute(20).plusMinutes(106).plusMinutes(87), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(63).withHour(20).withMinute(20).plusMinutes(106).plusMinutes(87), | |
endTime = LocalDateTime.now().minusDays(63).withHour(20).withMinute(20).plusMinutes(106).plusMinutes(87).plusMinutes(41), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(63).withHour(20).withMinute(20).plusMinutes(106).plusMinutes(87).plusMinutes(41), | |
endTime = LocalDateTime.now().minusDays(63).withHour(20).withMinute(20).plusMinutes(106).plusMinutes(87).plusMinutes(41).plusMinutes(49), | |
type = SleepType.Deep | |
) | |
), | |
sleepScore = 58 | |
), | |
// Day 65 - Score: 98 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(64), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34), | |
endTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67), | |
endTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67).plusMinutes(113), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67).plusMinutes(113), | |
endTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67).plusMinutes(113).plusMinutes(94), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67).plusMinutes(113).plusMinutes(94), | |
endTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67).plusMinutes(113).plusMinutes(94).plusMinutes(75), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67).plusMinutes(113).plusMinutes(94).plusMinutes(75), | |
endTime = LocalDateTime.now().minusDays(64).withHour(22).withMinute(34).plusMinutes(67).plusMinutes(113).plusMinutes(94).plusMinutes(75).plusMinutes(37), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 98 | |
), | |
// Day 66 - Score: 94 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(65), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14), | |
endTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173), | |
endTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173).plusMinutes(100), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173).plusMinutes(100), | |
endTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173).plusMinutes(100).plusMinutes(58), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173).plusMinutes(100).plusMinutes(58), | |
endTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173).plusMinutes(100).plusMinutes(58).plusMinutes(47), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173).plusMinutes(100).plusMinutes(58).plusMinutes(47), | |
endTime = LocalDateTime.now().minusDays(65).withHour(20).withMinute(14).plusMinutes(173).plusMinutes(100).plusMinutes(58).plusMinutes(47).plusMinutes(37), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 94 | |
), | |
// Day 67 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(66), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53), | |
endTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40), | |
endTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40).plusMinutes(41), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40).plusMinutes(41), | |
endTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40).plusMinutes(41).plusMinutes(178), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40).plusMinutes(41).plusMinutes(178), | |
endTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40).plusMinutes(41).plusMinutes(178).plusMinutes(122), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40).plusMinutes(41).plusMinutes(178).plusMinutes(122), | |
endTime = LocalDateTime.now().minusDays(66).withHour(21).withMinute(53).plusMinutes(40).plusMinutes(41).plusMinutes(178).plusMinutes(122).plusMinutes(55), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 68 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(67), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46), | |
endTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123), | |
endTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123).plusMinutes(100), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123).plusMinutes(100), | |
endTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123).plusMinutes(100).plusMinutes(141), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123).plusMinutes(100).plusMinutes(141), | |
endTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123).plusMinutes(100).plusMinutes(141).plusMinutes(36), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123).plusMinutes(100).plusMinutes(141).plusMinutes(36), | |
endTime = LocalDateTime.now().minusDays(67).withHour(21).withMinute(46).plusMinutes(123).plusMinutes(100).plusMinutes(141).plusMinutes(36).plusMinutes(55), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 69 - Score: 74 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(68), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39), | |
endTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34), | |
endTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34).plusMinutes(99), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34).plusMinutes(99), | |
endTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34).plusMinutes(99).plusMinutes(73), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34).plusMinutes(99).plusMinutes(73), | |
endTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34).plusMinutes(99).plusMinutes(73).plusMinutes(57), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34).plusMinutes(99).plusMinutes(73).plusMinutes(57), | |
endTime = LocalDateTime.now().minusDays(68).withHour(22).withMinute(39).plusMinutes(34).plusMinutes(99).plusMinutes(73).plusMinutes(57).plusMinutes(31), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 74 | |
), | |
// Day 70 - Score: 69 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(69), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46), | |
endTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40), | |
endTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40).plusMinutes(104), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40).plusMinutes(104), | |
endTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40).plusMinutes(104).plusMinutes(63), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40).plusMinutes(104).plusMinutes(63), | |
endTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40).plusMinutes(104).plusMinutes(63).plusMinutes(40), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40).plusMinutes(104).plusMinutes(63).plusMinutes(40), | |
endTime = LocalDateTime.now().minusDays(69).withHour(22).withMinute(46).plusMinutes(40).plusMinutes(104).plusMinutes(63).plusMinutes(40).plusMinutes(35), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 69 | |
), | |
// Day 71 - Score: 83 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(70), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20), | |
endTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57), | |
endTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57).plusMinutes(118), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57).plusMinutes(118), | |
endTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57).plusMinutes(118).plusMinutes(47), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57).plusMinutes(118).plusMinutes(47), | |
endTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57).plusMinutes(118).plusMinutes(47).plusMinutes(40), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57).plusMinutes(118).plusMinutes(47).plusMinutes(40), | |
endTime = LocalDateTime.now().minusDays(70).withHour(20).withMinute(20).plusMinutes(57).plusMinutes(118).plusMinutes(47).plusMinutes(40).plusMinutes(47), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 83 | |
), | |
// Day 72 - Score: 63 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(71), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59), | |
endTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137), | |
endTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137).plusMinutes(45), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137).plusMinutes(45), | |
endTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137).plusMinutes(45).plusMinutes(33), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137).plusMinutes(45).plusMinutes(33), | |
endTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137).plusMinutes(45).plusMinutes(33).plusMinutes(33), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137).plusMinutes(45).plusMinutes(33).plusMinutes(33), | |
endTime = LocalDateTime.now().minusDays(71).withHour(21).withMinute(59).plusMinutes(137).plusMinutes(45).plusMinutes(33).plusMinutes(33).plusMinutes(56), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 63 | |
), | |
// Day 73 - Score: 50 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(72), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(72).withHour(22).withMinute(45), | |
endTime = LocalDateTime.now().minusDays(72).withHour(22).withMinute(45).plusMinutes(95), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(72).withHour(22).withMinute(45).plusMinutes(95), | |
endTime = LocalDateTime.now().minusDays(72).withHour(22).withMinute(45).plusMinutes(95).plusMinutes(73), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(72).withHour(22).withMinute(45).plusMinutes(95).plusMinutes(73), | |
endTime = LocalDateTime.now().minusDays(72).withHour(22).withMinute(45).plusMinutes(95).plusMinutes(73).plusMinutes(31), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(72).withHour(22).withMinute(45).plusMinutes(95).plusMinutes(73).plusMinutes(31), | |
endTime = LocalDateTime.now().minusDays(72).withHour(22).withMinute(45).plusMinutes(95).plusMinutes(73).plusMinutes(31).plusMinutes(44), | |
type = SleepType.Deep | |
) | |
), | |
sleepScore = 50 | |
), | |
// Day 74 - Score: 55 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(73), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34), | |
endTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74), | |
endTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74).plusMinutes(96), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74).plusMinutes(96), | |
endTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74).plusMinutes(96).plusMinutes(36), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74).plusMinutes(96).plusMinutes(36), | |
endTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74).plusMinutes(96).plusMinutes(36).plusMinutes(30), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74).plusMinutes(96).plusMinutes(36).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(73).withHour(21).withMinute(34).plusMinutes(74).plusMinutes(96).plusMinutes(36).plusMinutes(30).plusMinutes(32), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 55 | |
), | |
// Day 75 - Score: 53 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(74), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15), | |
endTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46), | |
endTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46).plusMinutes(101), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46).plusMinutes(101), | |
endTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46).plusMinutes(101).plusMinutes(37), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46).plusMinutes(101).plusMinutes(37), | |
endTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46).plusMinutes(101).plusMinutes(37).plusMinutes(34), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46).plusMinutes(101).plusMinutes(37).plusMinutes(34), | |
endTime = LocalDateTime.now().minusDays(74).withHour(23).withMinute(15).plusMinutes(46).plusMinutes(101).plusMinutes(37).plusMinutes(34).plusMinutes(38), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 53 | |
), | |
// Day 76 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(75), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47), | |
endTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194), | |
endTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194).plusMinutes(83), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194).plusMinutes(83), | |
endTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194).plusMinutes(83).plusMinutes(194), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194).plusMinutes(83).plusMinutes(194), | |
endTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194).plusMinutes(83).plusMinutes(194).plusMinutes(30), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194).plusMinutes(83).plusMinutes(194).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(75).withHour(20).withMinute(47).plusMinutes(194).plusMinutes(83).plusMinutes(194).plusMinutes(30).plusMinutes(71), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 77 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(76), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59), | |
endTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145), | |
endTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145).plusMinutes(55), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145).plusMinutes(55), | |
endTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145).plusMinutes(55).plusMinutes(116), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145).plusMinutes(55).plusMinutes(116), | |
endTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145).plusMinutes(55).plusMinutes(116).plusMinutes(90), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145).plusMinutes(55).plusMinutes(116).plusMinutes(90), | |
endTime = LocalDateTime.now().minusDays(76).withHour(20).withMinute(59).plusMinutes(145).plusMinutes(55).plusMinutes(116).plusMinutes(90).plusMinutes(101), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 78 - Score: 58 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(77), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35), | |
endTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70), | |
endTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70).plusMinutes(37), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70).plusMinutes(37), | |
endTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70).plusMinutes(37).plusMinutes(33), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70).plusMinutes(37).plusMinutes(33), | |
endTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70).plusMinutes(37).plusMinutes(33).plusMinutes(58), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70).plusMinutes(37).plusMinutes(33).plusMinutes(58), | |
endTime = LocalDateTime.now().minusDays(77).withHour(20).withMinute(35).plusMinutes(70).plusMinutes(37).plusMinutes(33).plusMinutes(58).plusMinutes(39), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 58 | |
), | |
// Day 79 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(78), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7), | |
endTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49), | |
endTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49).plusMinutes(103), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49).plusMinutes(103), | |
endTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49).plusMinutes(103).plusMinutes(170), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49).plusMinutes(103).plusMinutes(170), | |
endTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49).plusMinutes(103).plusMinutes(170).plusMinutes(78), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49).plusMinutes(103).plusMinutes(170).plusMinutes(78), | |
endTime = LocalDateTime.now().minusDays(78).withHour(23).withMinute(7).plusMinutes(49).plusMinutes(103).plusMinutes(170).plusMinutes(78).plusMinutes(54), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 80 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(79), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54), | |
endTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169), | |
endTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169).plusMinutes(90), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169).plusMinutes(90), | |
endTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169).plusMinutes(90).plusMinutes(107), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169).plusMinutes(90).plusMinutes(107), | |
endTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169).plusMinutes(90).plusMinutes(107).plusMinutes(54), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169).plusMinutes(90).plusMinutes(107).plusMinutes(54), | |
endTime = LocalDateTime.now().minusDays(79).withHour(21).withMinute(54).plusMinutes(169).plusMinutes(90).plusMinutes(107).plusMinutes(54).plusMinutes(63), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 81 - Score: 63 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(80), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(80).withHour(20).withMinute(24), | |
endTime = LocalDateTime.now().minusDays(80).withHour(20).withMinute(24).plusMinutes(113), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(80).withHour(20).withMinute(24).plusMinutes(113), | |
endTime = LocalDateTime.now().minusDays(80).withHour(20).withMinute(24).plusMinutes(113).plusMinutes(93), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(80).withHour(20).withMinute(24).plusMinutes(113).plusMinutes(93), | |
endTime = LocalDateTime.now().minusDays(80).withHour(20).withMinute(24).plusMinutes(113).plusMinutes(93).plusMinutes(42), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(80).withHour(20).withMinute(24).plusMinutes(113).plusMinutes(93).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(80).withHour(20).withMinute(24).plusMinutes(113).plusMinutes(93).plusMinutes(42).plusMinutes(59), | |
type = SleepType.Deep | |
) | |
), | |
sleepScore = 63 | |
), | |
// Day 82 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(81), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27), | |
endTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190), | |
endTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190).plusMinutes(187), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190).plusMinutes(187), | |
endTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190).plusMinutes(187).plusMinutes(74), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190).plusMinutes(187).plusMinutes(74), | |
endTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190).plusMinutes(187).plusMinutes(74).plusMinutes(75), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190).plusMinutes(187).plusMinutes(74).plusMinutes(75), | |
endTime = LocalDateTime.now().minusDays(81).withHour(22).withMinute(27).plusMinutes(190).plusMinutes(187).plusMinutes(74).plusMinutes(75).plusMinutes(60), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 83 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(82), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15), | |
endTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257), | |
endTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257).plusMinutes(30), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257).plusMinutes(30).plusMinutes(87), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257).plusMinutes(30).plusMinutes(87), | |
endTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257).plusMinutes(30).plusMinutes(87).plusMinutes(76), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257).plusMinutes(30).plusMinutes(87).plusMinutes(76), | |
endTime = LocalDateTime.now().minusDays(82).withHour(21).withMinute(15).plusMinutes(257).plusMinutes(30).plusMinutes(87).plusMinutes(76).plusMinutes(129), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 84 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(83), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46), | |
endTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70), | |
endTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70).plusMinutes(232), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70).plusMinutes(232), | |
endTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70).plusMinutes(232).plusMinutes(68), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70).plusMinutes(232).plusMinutes(68), | |
endTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70).plusMinutes(232).plusMinutes(68).plusMinutes(90), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70).plusMinutes(232).plusMinutes(68).plusMinutes(90), | |
endTime = LocalDateTime.now().minusDays(83).withHour(23).withMinute(46).plusMinutes(70).plusMinutes(232).plusMinutes(68).plusMinutes(90).plusMinutes(33), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 85 - Score: 93 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(84), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55), | |
endTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161), | |
endTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161).plusMinutes(66), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161).plusMinutes(66), | |
endTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161).plusMinutes(66).plusMinutes(47), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161).plusMinutes(66).plusMinutes(47), | |
endTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161).plusMinutes(66).plusMinutes(47).plusMinutes(42), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161).plusMinutes(66).plusMinutes(47).plusMinutes(42), | |
endTime = LocalDateTime.now().minusDays(84).withHour(22).withMinute(55).plusMinutes(161).plusMinutes(66).plusMinutes(47).plusMinutes(42).plusMinutes(35), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 93 | |
), | |
// Day 86 - Score: 52 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(85), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44), | |
endTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89), | |
endTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89).plusMinutes(61), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89).plusMinutes(61), | |
endTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89).plusMinutes(61).plusMinutes(33), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89).plusMinutes(61).plusMinutes(33), | |
endTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89).plusMinutes(61).plusMinutes(33).plusMinutes(34), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89).plusMinutes(61).plusMinutes(33).plusMinutes(34), | |
endTime = LocalDateTime.now().minusDays(85).withHour(22).withMinute(44).plusMinutes(89).plusMinutes(61).plusMinutes(33).plusMinutes(34).plusMinutes(37), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 52 | |
), | |
// Day 87 - Score: 53 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(86), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26), | |
endTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77), | |
endTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77).plusMinutes(88), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77).plusMinutes(88), | |
endTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77).plusMinutes(88).plusMinutes(30), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77).plusMinutes(88).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77).plusMinutes(88).plusMinutes(30).plusMinutes(30), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77).plusMinutes(88).plusMinutes(30).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(86).withHour(21).withMinute(26).plusMinutes(77).plusMinutes(88).plusMinutes(30).plusMinutes(30).plusMinutes(32), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 53 | |
), | |
// Day 88 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(87), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0), | |
endTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280), | |
endTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280).plusMinutes(133), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280).plusMinutes(133), | |
endTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280).plusMinutes(133).plusMinutes(30), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280).plusMinutes(133).plusMinutes(30), | |
endTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280).plusMinutes(133).plusMinutes(30).plusMinutes(71), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280).plusMinutes(133).plusMinutes(30).plusMinutes(71), | |
endTime = LocalDateTime.now().minusDays(87).withHour(23).withMinute(0).plusMinutes(280).plusMinutes(133).plusMinutes(30).plusMinutes(71).plusMinutes(30), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
// Day 89 - Score: 71 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(88), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28), | |
endTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96), | |
endTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96).plusMinutes(115), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96).plusMinutes(115), | |
endTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96).plusMinutes(115).plusMinutes(64), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96).plusMinutes(115).plusMinutes(64), | |
endTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96).plusMinutes(115).plusMinutes(64).plusMinutes(31), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96).plusMinutes(115).plusMinutes(64).plusMinutes(31), | |
endTime = LocalDateTime.now().minusDays(88).withHour(23).withMinute(28).plusMinutes(96).plusMinutes(115).plusMinutes(64).plusMinutes(31).plusMinutes(39), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 71 | |
), | |
// Day 90 - Score: 100 | |
SleepDayData( | |
startDate = LocalDateTime.now().minusDays(89), | |
sleepPeriods = listOf( | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54), | |
endTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31), | |
type = SleepType.Light | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31), | |
endTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31).plusMinutes(150), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31).plusMinutes(150), | |
endTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31).plusMinutes(150).plusMinutes(41), | |
type = SleepType.REM | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31).plusMinutes(150).plusMinutes(41), | |
endTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31).plusMinutes(150).plusMinutes(41).plusMinutes(53), | |
type = SleepType.Deep | |
), | |
SleepPeriod( | |
startTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31).plusMinutes(150).plusMinutes(41).plusMinutes(53), | |
endTime = LocalDateTime.now().minusDays(89).withHour(23).withMinute(54).plusMinutes(31).plusMinutes(150).plusMinutes(41).plusMinutes(53).plusMinutes(79), | |
type = SleepType.Awake | |
) | |
), | |
sleepScore = 100 | |
), | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment