internal static DyObject Parse(ExecutionContext ctx, string input, string format) { try { return(DyLocalDateTime.Parse(ctx.Type <DyLocalDateTimeTypeInfo>(), format, input)); } catch (FormatException) { return(ctx.ParsingFailed()); } catch (OverflowException) { return(ctx.Overflow()); } }