EDNA/Edna/Stations.cs

43 lines
1.6 KiB
C#
Raw Permalink Normal View History

2021-08-10 22:27:19 +02:00
// <copyright file="Stations.cs" company="alterNERDtive">
2022-05-29 13:34:13 +02:00
// Copyright 20212022 alterNERDtive.
2021-08-10 22:27:19 +02:00
//
// This file is part of EDNA.
//
// EDNA is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// EDNA is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with EDNA. If not, see &lt;https://www.gnu.org/licenses/&gt;.
// </copyright>
using System;
2021-08-10 20:14:03 +02:00
using System.Collections.Generic;
2021-08-10 22:27:19 +02:00
namespace alterNERDtive.Edna
2021-08-10 20:14:03 +02:00
{
2021-08-10 22:27:19 +02:00
/// <summary>
/// Provides access to functions that deal with several stations at once.
/// </summary>
2021-08-10 20:14:03 +02:00
public class Stations
{
2021-08-10 22:27:19 +02:00
/// <summary>
/// Finds outdated stations. A station is outdated if it has not had its
/// data updated in a given time span.
/// </summary>
/// <param name="minimumAge">The minimum age to be considered outdated.</param>
/// <param name="count">The maximum count of outdated stations to return.</param>
/// <returns>A list of outdated stations, sorted by age, descending.</returns>
public static List<Station> FindOutdatedStations(TimeSpan minimumAge, int count)
{
throw new NotImplementedException();
}
2021-08-10 20:14:03 +02:00
}
}