PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.IDateTimeParser Interface Reference

Versatile DateTime parser. More...

Inheritance diagram for PeanutButter.Utils.IDateTimeParser:
PeanutButter.Utils.DateTimeParser

Public Member Functions

DateTime Parse (string date)
 Attempts to parse the given date string into a DateTime object.

Detailed Description

Versatile DateTime parser.

Member Function Documentation

◆ Parse()

DateTime PeanutButter.Utils.IDateTimeParser.Parse ( string date)

Attempts to parse the given date string into a DateTime object.

  • direct parsing
  • relative parsing, eg 1 day ago, 3 weeks ago
Parameters
date
Returns

Implemented in PeanutButter.Utils.DateTimeParser.


The documentation for this interface was generated from the following file:
  • source/Utils/PeanutButter.Utils/DateTimeParser.cs