LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / CheckConversion Method
The source LxDateTimeType
The target LxDateTimeType

In This Topic
    CheckConversion Method
    In This Topic
    Checks if its possible to convert from one LxDateTimeType to another
    Public Shared Function CheckConversion( _
       ByVal from As LxDateTimeType, _
       ByVal to As LxDateTimeType _
    ) As System.Boolean
    public static System.bool CheckConversion( 
       LxDateTimeType from,
       LxDateTimeType to


    The source LxDateTimeType
    The target LxDateTimeType

    Return Value

    true if its allowable
    For a conversion to be possible the source must contain all the parts of the target (so gMonthDay can be converted to gMonth and gDay)

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also