C# Класс PhotoSharingApp.AppService.Shared.Models.DocumentDB.DateDocument

The json document representing both the string readable date and epoch value. This enables date filtering on photos in document db for fetching hero photos.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
ToEpoch ( System.DateTime date ) : int

Helper function to return the seconds since epoch for the given date.

Описание методов

ToEpoch() публичный статический Метод

Helper function to return the seconds since epoch for the given date.
public static ToEpoch ( System.DateTime date ) : int
date System.DateTime The given date to calculate.
Результат int