C# 클래스 Wsdot.Gtfs.IO.Extensions

Provides extension methods.
파일 보기 프로젝트 열기: WSDOT-GIS/GTFS.NET

공개 메소드들

메소드 설명
ParseGtfsDate ( this s ) : System.DateTime

Parses a date string in the format used by GTFS.

ParseGtfsNullableDate ( this s ) : DateTime?

Parses a date string in the format used by GTFS.

ParseGtfsNullableTimeSpan ( this s ) : TimeSpan?

Parses a TimeSpan string in the format used by GTFS.

메소드 상세

ParseGtfsDate() 공개 정적인 메소드

Parses a date string in the format used by GTFS.
Thrown if is . Thrown if is not in yyyyMMdd format.
public static ParseGtfsDate ( this s ) : System.DateTime
s this A date in yyyyMMdd format.
리턴 System.DateTime

ParseGtfsNullableDate() 공개 정적인 메소드

Parses a date string in the format used by GTFS.
public static ParseGtfsNullableDate ( this s ) : DateTime?
s this A date in yyyyMMdd format.
리턴 DateTime?

ParseGtfsNullableTimeSpan() 공개 정적인 메소드

Parses a TimeSpan string in the format used by GTFS.
public static ParseGtfsNullableTimeSpan ( this s ) : TimeSpan?
s this A string representation of a .
리턴 TimeSpan?