How does ultraviolet light influence the decay process of wood?
Ultraviolet light is microbicidal. See this post.
As I answered in this previous post, micro-organisms are essential for rotting. Since UV kills these microbes it will reduce the rate of rotting. The heat from sun will also dry the wood and further decelerate rotting.