how to choose diesel hose and nozzle,Can I use a hydraulic hose for a diesel fuel line?

how to choose diesel hose and nozzle,Can I use a hydraulic hose for a diesel fuel line?