InvalidDateException

Summary

Represents an invalid date exception.

Description

Represents an invalid date exception.

Examples

Example of how this exception might be encountered
1
2
3
4
5
6
7
8
9
10
import System;
import System.Exceptions;
 
try {
    double x = Double.NaN;
    new Date(x);
}
catch(InvalidDateException e) {
    Console.error(e);
}

Methods

Share

HTML | BBCode | Direct Link