Search Results for

    Show / Hide Table of Contents

    Class DateFactory

    Factory to convert DateTime instances into TPDate variants.

    Inheritance
    System.Object
    DateFactory
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Telematic.FleetBoard
    Assembly: Simplic.Telematic.FleetBoard.dll
    Syntax
    public static class DateFactory

    Methods

    | Improve this Doc View Source

    CreatePosDate(Nullable<DateTime>, Nullable<DateTime>)

    Creates a TPDate instance for use with the PosService.

    Declaration
    public static TPDate CreatePosDate(DateTime? begin, DateTime? end)
    Parameters
    Type Name Description
    System.Nullable<System.DateTime> begin

    The beginning date.

    System.Nullable<System.DateTime> end

    The ending date.

    Returns
    Type Description
    TPDate

    A TPDate

    | Improve this Doc View Source

    CreateTmDate(Nullable<DateTime>, Nullable<DateTime>)

    Creates a TPDate instance for use with the TransportManagementService.

    Declaration
    public static TPDate CreateTmDate(DateTime? begin, DateTime? end)
    Parameters
    Type Name Description
    System.Nullable<System.DateTime> begin

    The beginning date.

    System.Nullable<System.DateTime> end

    The ending date.

    Returns
    Type Description
    TPDate

    A TPDate

    | Improve this Doc View Source

    Parse(String)

    Parses a server-formatted datetime.

    Declaration
    public static DateTime Parse(string dateTime)
    Parameters
    Type Name Description
    System.String dateTime
    Returns
    Type Description
    System.DateTime
    | Improve this Doc View Source

    ParsePeriodQueryLimit(IEnumerable<PropertyType>, String)

    Gets the period query limit from the server properties.

    Declaration
    public static TimeSpan ParsePeriodQueryLimit(IEnumerable<PropertyType> properties, string propertyName)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<PropertyType> properties
    System.String propertyName
    Returns
    Type Description
    System.TimeSpan
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx