Fixed Query Filter at Replay Request

This commit is contained in:
Thorbjoern
2025-06-14 21:41:24 +02:00
parent 36bd205512
commit b4b70e2bf7
3 changed files with 9020 additions and 101 deletions
+13 -1
View File
@@ -10,6 +10,7 @@ public class DateSelector : MonoBehaviour
public int selectedDay;
public int selectedHour;
public int selectedMinute;
public int duration;
public void SetYear(int yearIndex)
{
@@ -33,7 +34,12 @@ public class DateSelector : MonoBehaviour
public void SetMinute(int minuteIndex)
{
selectedMinute = minuteIndex * 5; // 059
selectedMinute = minuteIndex * 5; // 055 in 5er Schritten
}
public void SetDuration(int durationIndex)
{
duration = durationIndex * 5; // 055 in 5er Schritten
}
public DateTime selectedDateTime()
{
@@ -41,4 +47,10 @@ public class DateSelector : MonoBehaviour
return dateAndTime;
}
public DateTime EndTime()
{
DateTime dateAndTime = selectedDateTime().AddMinutes(duration);
return dateAndTime;
}
}